Colour reference

Zinc 800

#27272a

RGB
rgb(39 39 42)
HSL
240°, 4%, 16%
OKLCh
27.4% 0.005 286.0

Open in the picker

Zinc 800 in every format

Web & CSSThe everyday formats for stylesheets and design tools.

Hex#27272a
RGBrgb(39 39 42)
RGB legacyrgb(39, 39, 42)
RGB percentrgb(15.29% 15.29% 16.47%)
HSLhsl(240 3.7% 15.9%)
HSL legacyhsl(240, 3.7%, 15.9%)
HSV / HSBhsv(240, 7.1%, 16.5%)
HWBhwb(240 15.3% 83.5%)
Nearest namedarkslategray (approx.)
CMYKcmyk(7.1%, 7.1%, 0%, 83.5%)Naive conversion. Real print work needs an ICC profile.

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

OKLChoklch(27.394% 0.00548 286.033)Modern CSS colour space for even palettes — better than HSL when building scales.
OKLaboklab(27.394% 0.00151 -0.00526)
CIE LChlch(15.728% 2.059 285.718)
CIE Lablab(15.728% 0.558 -1.982)
Display P3color(display-p3 0.1529 0.1529 0.1637)
Rec. 2020color(rec2020 0.0915 0.0911 0.1015)
srgb-linearcolor(srgb-linear 0.0203 0.0203 0.0232)Light-linear sRGB — the same numbers a shader wants for maths.
CIE XYZ (D65)color(xyz-d65 0.0198 0.0205 0.0248)

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

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

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

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

Raw valuesPacked integers and plain arrays.

0x hex0x27272A
0x hex (ARGB)0xFF27272A
Array 0–1[0.153, 0.153, 0.165]
Array 0–255[39, 39, 42]
Decimal integer2565930

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
Zinc 800 on white14.89:1AAALc 102Body text at any size
Zinc 800 on black1.41:1FailLc 0Not usable for text

Zinc 800 text on a white background

Zinc 800 text on a black background

White text on Zinc 800

Black text on Zinc 800

Tonal scale

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

  • 50#f7f7fa
  • 100#ededf0
  • 200#dcdcdf
  • 300#c5c5c9
  • 400#a9a9ac
  • 500#8b8b8e
  • 600#717175
  • 700#5a5a5e
  • 800#47474a
  • 900#38383a
  • 950#1f1f21

Tints and shades

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

  • Tint 1#464649
  • Tint 2#67676a
  • Tint 3#8b8b8d
  • Tint 4#b0b0b1
  • Tint 5#d7d7d8
  • Shade 1#1c1c1f
  • Shade 2#121214
  • Shade 3#08080a
  • Shade 4#020203
  • Shade 5#000000

Colours that work with Zinc 800

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

  • #282825
  • #2a2725
  • #252827
  • #26282a
  • #282729

Closest CSS names

  • darkslategrayΔEok 0.135
  • midnightblueΔEok 0.139
  • navyΔEok 0.183
  • darkslateblueΔEok 0.184
  • indigoΔEok 0.186
  • maroonΔEok 0.187