#021E3B#021E3B

#021E3B is a very dark, moderate cyan. Relative luminance 0.013; OKLCH L 23.3% C 0.065 H 251.9°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#021E3B
RGBrgb(2, 30, 59)
HSLhsl(211, 93%, 12%)
HSVhsv(211, 97%, 23%)
CMYKcmyk(96.6%, 49.2%, 0%, 76.9%)
CIE-LABlab(10.97, 2.65, -21.67)
CIE-LCHlch(10.97, 21.83, 276.97°)
OKLaboklab(23.3% -0.0203 -0.0621)
OKLCHoklch(23.3% 0.065 251.9)
XYZxyz(1.2784, 1.2571, 4.3121)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021E3B #3B1F02
analogous
#023B3B #021E3B #02023B
triadic
#021E3B #3B021E #1E3B02
tetradic
#021E3B #3B023B #3B1F02 #023B02
square
#021E3B #3B023B #3B1F02 #023B02
split-complementary
#021E3B #3B0202 #3B3B02
monochromatic
#010F1E #010F1E #021E3B #043C76 #065AB1

Accessibility & contrast

On white

16.78
#021E3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#021E3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021E3B
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021E3B#FFFFFF#000000##FFFFFF
##021E3B1.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F203C
Deuteranopia (green-blind)
#051B3A
Tritanopia (blue-blind)
#002529
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #021e3b;
/* rgb */ color: rgb(2, 30, 59);
/* oklch */ color: oklch(23.3% 0.065 251.9);
Tailwind
colors: {
  custom: {
    50: '#4e5971',
    500: '#021e3b',
    950: '#000000',
  },
}
SCSS
$custom: #021e3b;
$custom-light: #4e5971;
$custom-dark: #000000;
JSON
{
  "hex": "#021e3b",
  "rgb": {
    "r": 2,
    "g": 30,
    "b": 59
  },
  "hsl": {
    "h": 210.526,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23296,
    "c": 0.06536,
    "h": 251.9
  },
  "luminance": 0.01257
}

Semantic roles & 50–950 ramp

primary
#021E3B
secondary
#7E4D1A
accent
#9629FF
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #021E3B

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

Preview Lab → · Contrast checker → · Palette generator →

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