#020B39#020B39

#020B39 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.3% C 0.090 H 265.2°. Best body text is #FFFFFF at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#020B39
RGBrgb(2, 11, 57)
HSLhsl(230, 93%, 12%)
HSVhsv(230, 96%, 22%)
CMYKcmyk(96.5%, 80.7%, 0%, 77.6%)
CIE-LABlab(4.95, 14.83, -29.98)
CIE-LCHlch(4.95, 33.44, 296.32°)
OKLaboklab(18.3% -0.0075 -0.0894)
OKLCHoklch(18.3% 0.09 265.2)
XYZxyz(0.8830, 0.5475, 3.9292)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020B39 #393002
analogous
#022739 #020B39 #150239
triadic
#020B39 #39020B #0B3902
tetradic
#020B39 #390227 #393002 #023915
square
#020B39 #390227 #393002 #023915
split-complementary
#020B39 #391502 #273902
monochromatic
#01061E #01061E #020B39 #041674 #0622AF

Accessibility & contrast

On white

18.93
#020B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#020B39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020B39
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020B39#FFFFFF#000000##FFFFFF
##020B391.0018.931.1118.93
#FFFFFF18.931.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143A
Deuteranopia (green-blind)
#000E38
Tritanopia (blue-blind)
#001820
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #020b39;
/* rgb */ color: rgb(2, 11, 57);
/* oklch */ color: oklch(18.3% 0.090 265.2);
Tailwind
colors: {
  custom: {
    50: '#4d4b70',
    500: '#020b39',
    950: '#000000',
  },
}
SCSS
$custom: #020b39;
$custom-light: #4d4b70;
$custom-dark: #000000;
JSON
{
  "hex": "#020b39",
  "rgb": {
    "r": 2,
    "g": 11,
    "b": 57
  },
  "hsl": {
    "h": 230.182,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18296,
    "c": 0.08976,
    "h": 265.2
  },
  "luminance": 0.00548
}

Semantic roles & 50–950 ramp

primary
#020B39
secondary
#7D6D1A
accent
#DC29FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #020B39

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

Preview Lab → · Contrast checker → · Palette generator →

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