#021B34#021B34

#021B34 is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.9% C 0.058 H 250.6°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#021B34
RGBrgb(2, 27, 52)
HSLhsl(210, 93%, 11%)
HSVhsv(210, 96%, 20%)
CMYKcmyk(96.2%, 48.1%, 0%, 79.6%)
CIE-LABlab(9.36, 1.58, -19.23)
CIE-LCHlch(9.36, 19.29, 274.70°)
OKLaboklab(21.87% -0.0194 -0.055)
OKLCHoklch(21.87% 0.058 250.6)
XYZxyz(1.0366, 1.0446, 3.3951)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021B34 #341B02
analogous
#023434 #021B34 #020234
triadic
#021B34 #34021B #1B3402
tetradic
#021B34 #340234 #341B02 #023402
square
#021B34 #340234 #341B02 #023402
split-complementary
#021B34 #340202 #343402
monochromatic
#010F1D #010F1D #021B34 #043A6F #0758AA

Accessibility & contrast

On white

17.37
#021B34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#021B34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021B34
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021B34#FFFFFF#000000##FFFFFF
##021B341.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1D35
Deuteranopia (green-blind)
#061834
Tritanopia (blue-blind)
#002124
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #021b34;
/* rgb */ color: rgb(2, 27, 52);
/* oklch */ color: oklch(21.9% 0.058 250.6);
Tailwind
colors: {
  custom: {
    50: '#4b566b',
    500: '#021b34',
    950: '#000000',
  },
}
SCSS
$custom: #021b34;
$custom-light: #4b566b;
$custom-dark: #000000;
JSON
{
  "hex": "#021b34",
  "rgb": {
    "r": 2,
    "g": 27,
    "b": 52
  },
  "hsl": {
    "h": 210,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21869,
    "c": 0.05837,
    "h": 250.6
  },
  "luminance": 0.01045
}

Semantic roles & 50–950 ramp

primary
#021B34
secondary
#78491A
accent
#9429FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #021B34

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#021B34 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva