#021936#021936

#021936 is a very dark, moderate cyan. Relative luminance 0.010; OKLCH L 21.5% C 0.064 H 254.7°. Best body text is #FFFFFF at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#021936
RGBrgb(2, 25, 54)
HSLhsl(213, 93%, 11%)
HSVhsv(213, 96%, 21%)
CMYKcmyk(96.3%, 53.7%, 0%, 78.8%)
CIE-LABlab(8.78, 4.15, -21.61)
CIE-LCHlch(8.78, 22.00, 280.87°)
OKLaboklab(21.47% -0.017 -0.0621)
OKLCHoklch(21.47% 0.064 254.7)
XYZxyz(1.0383, 0.9744, 3.6227)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021936 #361F02
analogous
#023336 #021936 #050236
triadic
#021936 #360219 #193602
tetradic
#021936 #360233 #361F02 #023605
square
#021936 #360233 #361F02 #023605
split-complementary
#021936 #360502 #333602
monochromatic
#010E1E #010E1E #021936 #043471 #0650AC

Accessibility & contrast

On white

17.57
#021936 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#021936 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021936
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021936#FFFFFF#000000##FFFFFF
##0219361.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091C37
Deuteranopia (green-blind)
#011735
Tritanopia (blue-blind)
#002024
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #021936;
/* rgb */ color: rgb(2, 25, 54);
/* oklch */ color: oklch(21.5% 0.064 254.7);
Tailwind
colors: {
  custom: {
    50: '#4c556d',
    500: '#021936',
    950: '#000000',
  },
}
SCSS
$custom: #021936;
$custom-light: #4c556d;
$custom-dark: #000000;
JSON
{
  "hex": "#021936",
  "rgb": {
    "r": 2,
    "g": 25,
    "b": 54
  },
  "hsl": {
    "h": 213.462,
    "s": 92.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21466,
    "c": 0.06437,
    "h": 254.7
  },
  "luminance": 0.00975
}

Semantic roles & 50–950 ramp

primary
#021936
secondary
#7A4F1A
accent
#A029FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010207
muted
#77787A

Preview Lab

Preview with #021936

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

Preview Lab → · Contrast checker → · Palette generator →

#021936 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva