#02071D#02071D

#02071D is a very dark, muted blue. Relative luminance 0.003; OKLCH L 13.9% C 0.050 H 264.9°. Best body text is #FFFFFF at 19.98:1 contrast (WCAG AA passes).

Color values

HEX#02071D
RGBrgb(2, 7, 29)
HSLhsl(229, 87%, 6%)
HSVhsv(229, 93%, 11%)
CMYKcmyk(93.1%, 75.9%, 0%, 88.6%)
CIE-LABlab(2.29, 3.35, -12.90)
CIE-LCHlch(2.29, 13.33, 284.55°)
OKLaboklab(13.89% -0.0044 -0.0495)
OKLCHoklch(13.89% 0.05 264.9)
XYZxyz(0.3227, 0.2535, 1.1941)
Luminance0.0025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02071D #1D1802
analogous
#02141D #02071D #0A021D
triadic
#02071D #1D0207 #071D02
tetradic
#02071D #1D0214 #1D1802 #021D0A
square
#02071D #1D0214 #1D1802 #021D0A
split-complementary
#02071D #1D0A02 #141D02
monochromatic
#02071D #02071D #02071D #061556 #0A2390

Accessibility & contrast

On white

19.98
#02071D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#02071D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02071D
19.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02071D#FFFFFF#000000##FFFFFF
##02071D1.0019.981.0519.98
#FFFFFF19.981.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A1E
Deuteranopia (green-blind)
#00071D
Tritanopia (blue-blind)
#000C10
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #02071d;
/* rgb */ color: rgb(2, 7, 29);
/* oklch */ color: oklch(13.9% 0.050 264.9);
Tailwind
colors: {
  custom: {
    50: '#474a58',
    500: '#02071d',
    950: '#000000',
  },
}
SCSS
$custom: #02071d;
$custom-light: #474a58;
$custom-dark: #000000;
JSON
{
  "hex": "#02071d",
  "rgb": {
    "r": 2,
    "g": 7,
    "b": 29
  },
  "hsl": {
    "h": 228.889,
    "s": 87.097,
    "l": 6.078
  },
  "oklch": {
    "l": 0.13889,
    "c": 0.04971,
    "h": 264.9
  },
  "luminance": 0.00254
}

Semantic roles & 50–950 ramp

primary
#02071D
secondary
#635518
accent
#D62BFD
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #02071D

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

Preview Lab → · Contrast checker → · Palette generator →

#02071D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva