#021D3B#021D3B

#021D3B is a very dark, moderate cyan. Relative luminance 0.012; OKLCH L 23.0% C 0.067 H 253.2°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#021D3B
RGBrgb(2, 29, 59)
HSLhsl(212, 93%, 12%)
HSVhsv(212, 97%, 23%)
CMYKcmyk(96.6%, 50.8%, 0%, 76.9%)
CIE-LABlab(10.61, 3.43, -22.25)
CIE-LCHlch(10.61, 22.51, 278.77°)
OKLaboklab(23.02% -0.0193 -0.0639)
OKLCHoklch(23.02% 0.067 253.2)
XYZxyz(1.2535, 1.2072, 4.3038)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021D3B #3B2002
analogous
#023A3B #021D3B #04023B
triadic
#021D3B #3B021D #1D3B02
tetradic
#021D3B #3B023A #3B2002 #023B04
square
#021D3B #3B023A #3B2002 #023B04
split-complementary
#021D3B #3B0402 #3A3B02
monochromatic
#010F1E #010F1E #021D3B #043A76 #0657B1

Accessibility & contrast

On white

16.92
#021D3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#021D3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021D3B
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021D3B#FFFFFF#000000##FFFFFF
##021D3B1.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1F3C
Deuteranopia (green-blind)
#031A3A
Tritanopia (blue-blind)
#002429
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #021d3b;
/* rgb */ color: rgb(2, 29, 59);
/* oklch */ color: oklch(23.0% 0.067 253.2);
Tailwind
colors: {
  custom: {
    50: '#4e5871',
    500: '#021d3b',
    950: '#000000',
  },
}
SCSS
$custom: #021d3b;
$custom-light: #4e5871;
$custom-dark: #000000;
JSON
{
  "hex": "#021d3b",
  "rgb": {
    "r": 2,
    "g": 29,
    "b": 59
  },
  "hsl": {
    "h": 211.579,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23015,
    "c": 0.06673,
    "h": 253.2
  },
  "luminance": 0.01207
}

Semantic roles & 50–950 ramp

primary
#021D3B
secondary
#7E4F1A
accent
#9A29FF
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #021D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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