SwiftUI Color.cyan

.cyan
Information, Media & Bright Highlights
Adaptive System Token•iOS 15.0+, macOS 12.0+, tvOS 15.0+, watchOS 8.0+, visionOS 1.0+

Complete technical specification and developer reference for Cyan in Apple's SwiftUI design system. In light appearance, it resolves to HEX #00C0E8; in dark appearance, it dynamically adapts to HEX #3CD3FE. Features wide-gamut Display P3 values, UIKit bridge (UIColor.systemCyan), AppKit bridge (NSColor.systemCyan), WCAG contrast audit, and Xcode drop-in initializers.

Light Mode#00C0E8
Dark Mode#3CD3FE
Cyan Color Preview

SwiftUI's adaptable cyan.

Color.cyan
Copy:
Dynamic Asset
Information, Media & Bright Highlights
iOS 15.0+, macOS 12.0+, tvOS 15.0+, watchOS 8.0+, visionOS 1.0+
Initializers & Color Spaces
Color(r:g:b:)Color(red: 0.000, green: 0.753, blue: 0.910)
Color(r:g:b:op:)Color(red: 0.000, green: 0.753, blue: 0.910, opacity: 1.00)
Color(hue:sat:bri:)HSBColor(hue: 0.529, saturation: 1.000, brightness: 0.910, opacity: 1.00)
Color(.displayP3)Wide GamutColor(.displayP3, red: 0.337, green: 0.741, blue: 0.894, opacity: 1.00)
Color(.sRGB)Color(.sRGB, red: 0.000, green: 0.753, blue: 0.910, opacity: 1.00)
Color(hex:)ExtensionColor(hex: "#00C0E8")
#colorLiteralXcode#colorLiteral(red: 0.000, green: 0.753, blue: 0.910, alpha: 1.00)
Color(uiColor:)iOSColor(uiColor: UIColor(red: 0.000, green: 0.753, blue: 0.910, alpha: 1.00))
Active HEX: #00C0E8P3 R: 0.337 G: 0.741 B: 0.894

Technical Color Specifications

Exact resolved HEX codes, sRGB 8-bit components, HSL, and normalized Swift floating-point decimals for Light and Dark modes.

Color Metric / SpaceLight AppearanceDark AppearanceSwift Code Literal
HEX Code#00C0E8#3CD3FEColor(hex: "#00C0E8")
sRGB (0–255)rgb(0, 192, 232)rgb(60, 211, 254)(r: 0.000, g: 0.753, b: 0.910)
Display P3 (Wide Gamut)P3 (0.337, 0.741, 0.894)P3 (0.427, 0.816, 0.976)Color(.displayP3, ...)
HSL / HSBhsl(190, 100%, 45%)hsl(193, 99%, 62%)Color(hue:sat:bri:)
Platform BridgeUIKit: UIColor.systemCyanAppKit: NSColor.systemCyanColor(uiColor:) / Color(nsColor:)

Light Appearance

Light Theme
HEX Code
#00C0E8
RGB (0–255)
rgb(0, 192, 232)
HSL
hsl(190, 100%, 45%)
Normalized Swift Literal:
(r: 0.000, g: 0.753, b: 0.910)

Dark Appearance

Dark Theme
HEX Code
#3CD3FE
RGB (0–255)
rgb(60, 211, 254)
HSL
hsl(193, 99%, 62%)
Normalized Swift Literal:
(r: 0.235, g: 0.827, b: 0.996)

Drop-In Developer Snippets

Ready-to-paste code blocks for Xcode asset catalogs and Swift files.

Xcode Location: Save as Contents.json inside Assets.xcassets/Cyan.colorset/
Includes Light + Dark Modes
Contents.json
{
  "colors": [
    {
      "color": {
        "color-space": "srgb",
        "components": {
          "red": "0.000",
          "green": "0.753",
          "blue": "0.910",
          "alpha": "1.000"
        }
      },
      "idiom": "universal"
    },
    {
      "appearances": [
        {
          "appearance": "luminosity",
          "value": "dark"
        }
      ],
      "color": {
        "color-space": "srgb",
        "components": {
          "red": "0.235",
          "green": "0.827",
          "blue": "0.996",
          "alpha": "1.000"
        }
      },
      "idiom": "universal"
    }
  ],
  "info": {
    "author": "xcode",
    "version": 1
  }
}

Live UI Component Sandbox

Preview Color.cyan inside standard Apple interface components.

Interactive Controls
Active TagBadge 99+
Toggle Tint
Container & Typography Styling

●SwiftUI Notification

Just now

Demonstrates how Apple designers pair system background tints with dynamic Cyan accents.

Dynamic Headline in Cyan

.foregroundStyle(.cyan)

Platform Implementation Snippets

Ready-to-use Swift code for SwiftUI, UIKit, and AppKit applications.

SwiftUI (Swift 5.9+)
// Standard SwiftUI Usage
Text("Hello, Apple")
    .foregroundStyle(Color.cyan)

// Background & Shape Fill
RoundedRectangle(cornerRadius: 16)
    .fill(Color.cyan)
    .frame(width: 200, height: 50)

// Prominent Action Button
Button("Confirm Action") {
    // Action
}
.buttonStyle(.borderedProminent)
.tint(Color.cyan)

WCAG 2.1 Accessibility Contrast Audit

Contrast calculations of Cyan against pure white and iOS OLED dark surfaces.

Light Mode (#00C0E8)on White (#FFF)
Contrast Ratio:2.16:1
Normal Text (4.5:1 AA): Fail
Dark Mode (#3CD3FE)on Dark (#1C1C1E)
Contrast Ratio:9.67:1
Normal Text (4.5:1 AA): Pass (AA)

Recommended HIG Use Cases

  • Media playback controls and progress sliders
  • Weather and temperature metrics
  • High-contrast highlights in dark interfaces

Anti-Patterns to Avoid

  • Light-on-white text
  • Sole status signal without icons

Browse More SwiftUI Colors

Quickly jump to other Apple system colors and semantic tokens.

All 18 Colors →

Frequently Asked Questions

How do I use Color.cyan in SwiftUI?

In SwiftUI, apply the color directly using view modifiers like .foregroundStyle(.cyan), .tint(.cyan), or .background(.cyan). You can also instantiate it via Color.cyan.

What is the HEX code for SwiftUI Cyan in light and dark mode?

In light appearance, SwiftUI Cyan resolves to #00C0E8. In dark appearance, it automatically adapts to #3CD3FE.

What is the UIKit and AppKit equivalent of SwiftUI Color.cyan?

The UIKit equivalent is UIColor.systemCyan (accessible in SwiftUI via Color(uiColor: .systemCyan)). The AppKit equivalent is NSColor.systemCyan (accessible via Color(nsColor: .systemCyan)).

Does SwiftUI Color.cyan adapt automatically to dark mode?

Yes, Color.cyan is a dynamic Apple system token that automatically updates between light (#00C0E8) and dark (#3CD3FE) appearances when the system appearance changes.

What is the Display P3 and sRGB value of Color.cyan?

Color.cyan uses resolved sRGB values (#00C0E8 in light, #3CD3FE in dark) and supports wide color gamut Display P3 coordinates for high-fidelity rendering on Apple Retina displays.