#021A3B#021A3B

#021A3B is a very dark, moderate cyan. Relative luminance 0.011; OKLCH L 22.2% C 0.071 H 256.4°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#021A3B
RGBrgb(2, 26, 59)
HSLhsl(215, 93%, 12%)
HSVhsv(215, 97%, 23%)
CMYKcmyk(96.6%, 55.9%, 0%, 76.9%)
CIE-LABlab(9.54, 5.81, -23.97)
CIE-LCHlch(9.54, 24.66, 283.62°)
OKLaboklab(22.19% -0.0167 -0.069)
OKLCHoklch(22.19% 0.071 256.4)
XYZxyz(1.1836, 1.0673, 4.2805)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021A3B #3B2302
analogous
#02373B #021A3B #07023B
triadic
#021A3B #3B021A #1A3B02
tetradic
#021A3B #3B0237 #3B2302 #023B07
square
#021A3B #3B0237 #3B2302 #023B07
split-complementary
#021A3B #3B0702 #373B02
monochromatic
#010D1E #010D1E #021A3B #043476 #064EB1

Accessibility & contrast

On white

17.31
#021A3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#021A3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021A3B
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021A3B#FFFFFF#000000##FFFFFF
##021A3B1.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071D3C
Deuteranopia (green-blind)
#00183A
Tritanopia (blue-blind)
#002227
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #021a3b;
/* rgb */ color: rgb(2, 26, 59);
/* oklch */ color: oklch(22.2% 0.071 256.4);
Tailwind
colors: {
  custom: {
    50: '#4e5571',
    500: '#021a3b',
    950: '#000000',
  },
}
SCSS
$custom: #021a3b;
$custom-light: #4e5571;
$custom-dark: #000000;
JSON
{
  "hex": "#021a3b",
  "rgb": {
    "r": 2,
    "g": 26,
    "b": 59
  },
  "hsl": {
    "h": 214.737,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22186,
    "c": 0.07102,
    "h": 256.4
  },
  "luminance": 0.01067
}

Semantic roles & 50–950 ramp

primary
#021A3B
secondary
#7E541A
accent
#A529FF
background
#F4F4F6
surface
#E7E8EC
border
#C3C4C7
text
#020307
muted
#78787A

Preview Lab

Preview with #021A3B

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

Preview Lab → · Contrast checker → · Palette generator →

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