#021C39#021C39

#021C39 is a very dark, moderate cyan. Relative luminance 0.011; OKLCH L 22.6% C 0.065 H 253.0°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#021C39
RGBrgb(2, 28, 57)
HSLhsl(212, 93%, 12%)
HSVhsv(212, 96%, 22%)
CMYKcmyk(96.5%, 50.9%, 0%, 77.6%)
CIE-LABlab(10.10, 3.24, -21.64)
CIE-LCHlch(10.10, 21.89, 278.51°)
OKLaboklab(22.57% -0.019 -0.0621)
OKLCHoklch(22.57% 0.065 253)
XYZxyz(1.1785, 1.1387, 4.0278)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021C39 #391F02
analogous
#023839 #021C39 #030239
triadic
#021C39 #39021C #1C3902
tetradic
#021C39 #390238 #391F02 #023903
square
#021C39 #390238 #391F02 #023903
split-complementary
#021C39 #390302 #383902
monochromatic
#010F1E #010F1E #021C39 #043974 #0656AF

Accessibility & contrast

On white

17.10
#021C39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021C39
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021C39#FFFFFF#000000##FFFFFF
##021C391.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1E3A
Deuteranopia (green-blind)
#031938
Tritanopia (blue-blind)
#002327
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #021c39;
/* rgb */ color: rgb(2, 28, 57);
/* oklch */ color: oklch(22.6% 0.065 253.0);
Tailwind
colors: {
  custom: {
    50: '#4d576f',
    500: '#021c39',
    950: '#000000',
  },
}
SCSS
$custom: #021c39;
$custom-light: #4d576f;
$custom-dark: #000000;
JSON
{
  "hex": "#021c39",
  "rgb": {
    "r": 2,
    "g": 28,
    "b": 57
  },
  "hsl": {
    "h": 211.636,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22566,
    "c": 0.06495,
    "h": 253
  },
  "luminance": 0.01139
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #021C39

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

Preview Lab → · Contrast checker → · Palette generator →

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