CSS named colour

Cyan

#00ffff

A CSS named colour: cyan is valid anywhere a colour is expected.

RGB
rgb(0 255 255)
HSL
180°, 100%, 50%
OKLCh
90.5% 0.155 194.8

Open in the picker

Cyan in every format

Web & CSSThe everyday formats for stylesheets and design tools.

Hex#00ffff
RGBrgb(0 255 255)
RGB legacyrgb(0, 255, 255)
RGB percentrgb(0% 100% 100%)
HSLhsl(180 100% 50%)
HSL legacyhsl(180, 100%, 50%)
HSV / HSBhsv(180, 100%, 100%)
HWBhwb(180 0% 0%)
Nearest namecyan
CMYKcmyk(100%, 0%, 0%, 0%)Naive conversion. Real print work needs an ICC profile.

Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.

OKLChoklch(90.54% 0.15455 194.769)Modern CSS colour space for even palettes — better than HSL when building scales.
OKLaboklab(90.54% -0.14944 -0.0394)
CIE LChlch(90.666% 52.82 196.455)
CIE Lablab(90.666% -50.657 -14.962)
Display P3color(display-p3 0.4584 0.9853 0.9925)
Rec. 2020color(rec2020 0.6057 0.9651 0.9919)
srgb-linearcolor(srgb-linear 0 1 1)Light-linear sRGB — the same numbers a shader wants for maths.
CIE XYZ (D65)color(xyz-d65 0.5381 0.7874 1.0697)

ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.

GLSL vec3 — sRGBvec3(0.0, 1.0, 1.0)Encoded values. Use when writing straight to the framebuffer.
GLSL vec3 — linearvec3(0.0, 1.0, 1.0)Light-linear values. Use for lighting, blending and mixing.
GLSL vec4 — sRGBvec4(0.0, 1.0, 1.0, 1.0)
GLSL vec4 — linearvec4(0.0, 1.0, 1.0, 1.0)
GLSL ivec3ivec3(0, 255, 255)
HLSL float3 — sRGBfloat3(0.0, 1.0, 1.0)
HLSL float3 — linearfloat3(0.0, 1.0, 1.0)
HLSL float4 — sRGBfloat4(0.0, 1.0, 1.0, 1.0)
HLSL half4 — sRGBhalf4(0.0, 1.0, 1.0, 1.0)
WGSL vec3f — sRGBvec3f(0.0, 1.0, 1.0)
WGSL vec4f — sRGBvec4f(0.0, 1.0, 1.0, 1.0)
WGSL vec3<f32> — linearvec3<f32>(0.0, 1.0, 1.0)

Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.

Unity Colornew Color(0.0f, 1.0f, 1.0f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255.
Unity Color32new Color32(0, 255, 255, 255)
Unreal FLinearColorFLinearColor(0.0f, 1.0f, 1.0f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255.
Unreal FColorFColor(0, 255, 255, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor.
Godot ColorColor(0, 1, 1, 1)
Flutter ColorColor(0xFF00FFFF)Packed ARGB, so alpha comes first.
Android ColorColor.rgb(0, 255, 255)
SwiftUI ColorColor(red: 0, green: 1, blue: 1)
UIKit UIColorUIColor(red: 0, green: 1, blue: 1, alpha: 1)

Raw valuesPacked integers and plain arrays.

0x hex0x00FFFF
0x hex (ARGB)0xFF00FFFF
Array 0–1[0, 1, 1]
Array 0–255[0, 255, 255]
Decimal integer65535

Contrast and accessibility

WCAG 2 ratios are what audits and legislation reference. APCA is shown alongside because WCAG 2 is known to misjudge mid-tone backgrounds, and it is the basis of the WCAG 3 draft.

PairingWCAG 2 ratioLevelAPCASuitable for
Cyan on white1.25:1FailLc 12Not usable for text
Cyan on black16.75:1AAALc 92Body text at any size

Cyan text on a white background

Cyan text on a black background

White text on Cyan

Black text on Cyan

Tonal scale

Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.

  • 50#c1ffff
  • 100#80ffff
  • 200#5bf7f6
  • 300#12e1e1
  • 400#00c4c5
  • 500#00a2a3
  • 600#008586
  • 700#006b6c
  • 800#005656
  • 900#004444
  • 950#002728

Tints and shades

Mixed perceptually toward white and black, so the steps feel evenly spaced.

  • Tint 1#66ffff
  • Tint 2#90ffff
  • Tint 3#b1ffff
  • Tint 4#cdffff
  • Tint 5#e7ffff
  • Shade 1#00c8c8
  • Shade 2#009494
  • Shade 3#006363
  • Shade 4#003636
  • Shade 5#000f0f

Colours that work with Cyan

Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.

  • #ffcdd1
  • #f8cdff
  • #ffd588
  • #67ffc6
  • #9cedff

Closest CSS names

  • cyanexact match
  • aquamarineΔEok 0.068
  • turquoiseΔEok 0.090
  • paleturquoiseΔEok 0.091
  • powderblueΔEok 0.110
  • lightblueΔEok 0.122