#021C3B#021C3B

#021C3B is a very dark, moderate cyan. Relative luminance 0.012; OKLCH L 22.7% C 0.068 H 254.3°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#021C3B
RGBrgb(2, 28, 59)
HSLhsl(213, 93%, 12%)
HSVhsv(213, 97%, 23%)
CMYKcmyk(96.6%, 52.5%, 0%, 76.9%)
CIE-LABlab(10.25, 4.22, -22.82)
CIE-LCHlch(10.25, 23.21, 280.47°)
OKLaboklab(22.74% -0.0184 -0.0656)
OKLCHoklch(22.74% 0.068 254.3)
XYZxyz(1.2294, 1.1590, 4.2957)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021C3B #3B2102
analogous
#02393B #021C3B #05023B
triadic
#021C3B #3B021C #1C3B02
tetradic
#021C3B #3B0239 #3B2102 #023B05
square
#021C3B #3B0239 #3B2102 #023B05
split-complementary
#021C3B #3B0502 #393B02
monochromatic
#010E1E #010E1E #021C3B #043876 #0654B1

Accessibility & contrast

On white

17.05
#021C3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#021C3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021C3B
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021C3B#FFFFFF#000000##FFFFFF
##021C3B1.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1F3C
Deuteranopia (green-blind)
#011A3A
Tritanopia (blue-blind)
#002328
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #021c3b;
/* rgb */ color: rgb(2, 28, 59);
/* oklch */ color: oklch(22.7% 0.068 254.3);
Tailwind
colors: {
  custom: {
    50: '#4e5771',
    500: '#021c3b',
    950: '#000000',
  },
}
SCSS
$custom: #021c3b;
$custom-light: #4e5771;
$custom-dark: #000000;
JSON
{
  "hex": "#021c3b",
  "rgb": {
    "r": 2,
    "g": 28,
    "b": 59
  },
  "hsl": {
    "h": 212.632,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22736,
    "c": 0.06814,
    "h": 254.3
  },
  "luminance": 0.01159
}

Semantic roles & 50–950 ramp

primary
#021C3B
secondary
#7E511A
accent
#9D29FF
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #021C3B

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

Preview Lab → · Contrast checker → · Palette generator →

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