#021439#021439

#021439 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.4% C 0.077 H 260.7°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#021439
RGBrgb(2, 20, 57)
HSLhsl(220, 93%, 12%)
HSVhsv(220, 96%, 22%)
CMYKcmyk(96.5%, 64.9%, 0%, 77.6%)
CIE-LABlab(7.30, 9.60, -26.16)
CIE-LCHlch(7.30, 27.86, 290.16°)
OKLaboklab(20.4% -0.0124 -0.0757)
OKLCHoklch(20.4% 0.077 260.7)
XYZxyz(1.0134, 0.8085, 3.9727)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021439 #392702
analogous
#023039 #021439 #0C0239
triadic
#021439 #390214 #143902
tetradic
#021439 #390230 #392702 #02390C
square
#021439 #390230 #392702 #02390C
split-complementary
#021439 #390C02 #303902
monochromatic
#010A1E #010A1E #021439 #042974 #063DAF

Accessibility & contrast

On white

18.08
#021439 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#021439 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021439
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021439#FFFFFF#000000##FFFFFF
##0214391.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193A
Deuteranopia (green-blind)
#001438
Tritanopia (blue-blind)
#001D24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #021439;
/* rgb */ color: rgb(2, 20, 57);
/* oklch */ color: oklch(20.4% 0.077 260.7);
Tailwind
colors: {
  custom: {
    50: '#4d5070',
    500: '#021439',
    950: '#000000',
  },
}
SCSS
$custom: #021439;
$custom-light: #4d5070;
$custom-dark: #000000;
JSON
{
  "hex": "#021439",
  "rgb": {
    "r": 2,
    "g": 20,
    "b": 57
  },
  "hsl": {
    "h": 220.364,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.20404,
    "c": 0.07673,
    "h": 260.7
  },
  "luminance": 0.00809
}

Semantic roles & 50–950 ramp

primary
#021439
secondary
#7D5C1A
accent
#B929FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #021439

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

Preview Lab → · Contrast checker → · Palette generator →

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