#020E39#020E39

#020E39 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.9% C 0.086 H 264.1°. Best body text is #FFFFFF at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#020E39
RGBrgb(2, 14, 57)
HSLhsl(227, 93%, 12%)
HSVhsv(227, 96%, 22%)
CMYKcmyk(96.5%, 75.4%, 0%, 77.6%)
CIE-LABlab(5.62, 13.37, -28.88)
CIE-LCHlch(5.62, 31.83, 294.85°)
OKLaboklab(18.95% -0.0088 -0.0851)
OKLCHoklch(18.95% 0.086 264.1)
XYZxyz(0.9203, 0.6223, 3.9417)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020E39 #392D02
analogous
#022A39 #020E39 #120239
triadic
#020E39 #39020E #0E3902
tetradic
#020E39 #39022A #392D02 #023912
square
#020E39 #39022A #392D02 #023912
split-complementary
#020E39 #391202 #2A3902
monochromatic
#01071E #01071E #020E39 #041D74 #062BAF

Accessibility & contrast

On white

18.68
#020E39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#020E39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020E39
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020E39#FFFFFF#000000##FFFFFF
##020E391.0018.681.1218.68
#FFFFFF18.681.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153A
Deuteranopia (green-blind)
#001038
Tritanopia (blue-blind)
#001A21
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #020e39;
/* rgb */ color: rgb(2, 14, 57);
/* oklch */ color: oklch(18.9% 0.086 264.1);
Tailwind
colors: {
  custom: {
    50: '#4d4c70',
    500: '#020e39',
    950: '#000000',
  },
}
SCSS
$custom: #020e39;
$custom-light: #4d4c70;
$custom-dark: #000000;
JSON
{
  "hex": "#020e39",
  "rgb": {
    "r": 2,
    "g": 14,
    "b": 57
  },
  "hsl": {
    "h": 226.909,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18948,
    "c": 0.0856,
    "h": 264.1
  },
  "luminance": 0.00622
}

Semantic roles & 50–950 ramp

primary
#020E39
secondary
#7D671A
accent
#D029FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #020E39

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

Preview Lab → · Contrast checker → · Palette generator →

#020E39 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva