#020F2B#020F2B

#020F2B is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.7% C 0.061 H 260.3°. Best body text is #FFFFFF at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#020F2B
RGBrgb(2, 15, 43)
HSLhsl(221, 91%, 9%)
HSVhsv(221, 95%, 17%)
CMYKcmyk(95.3%, 65.1%, 0%, 83.1%)
CIE-LABlab(4.78, 5.28, -19.89)
CIE-LCHlch(4.78, 20.58, 284.88°)
OKLaboklab(17.65% -0.0103 -0.0602)
OKLCHoklch(17.65% 0.061 260.3)
XYZxyz(0.6317, 0.5289, 2.3538)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020F2B #2B1E02
analogous
#02242B #020F2B #0A022B
triadic
#020F2B #2B020F #0F2B02
tetradic
#020F2B #2B0224 #2B1E02 #022B0A
square
#020F2B #2B0224 #2B1E02 #022B0A
split-complementary
#020F2B #2B0A02 #242B02
monochromatic
#010A1D #010A1D #020F2B #052365 #0738A0

Accessibility & contrast

On white

18.99
#020F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020F2B
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020F2B#FFFFFF#000000##FFFFFF
##020F2B1.0018.991.1118.99
#FFFFFF18.991.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01122C
Deuteranopia (green-blind)
#000E2A
Tritanopia (blue-blind)
#00161B
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #020f2b;
/* rgb */ color: rgb(2, 15, 43);
/* oklch */ color: oklch(17.7% 0.061 260.3);
Tailwind
colors: {
  custom: {
    50: '#484e64',
    500: '#020f2b',
    950: '#000000',
  },
}
SCSS
$custom: #020f2b;
$custom-light: #484e64;
$custom-dark: #000000;
JSON
{
  "hex": "#020f2b",
  "rgb": {
    "r": 2,
    "g": 15,
    "b": 43
  },
  "hsl": {
    "h": 220.976,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.17653,
    "c": 0.06106,
    "h": 260.3
  },
  "luminance": 0.00529
}

Semantic roles & 50–950 ramp

primary
#020F2B
secondary
#705419
accent
#BB29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #020F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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