#02061E#02061E

#02061E is a very dark, muted blue. Relative luminance 0.002; OKLCH L 13.7% C 0.054 H 266.6°. Best body text is #FFFFFF at 20.05:1 contrast (WCAG AA passes).

Color values

HEX#02061E
RGBrgb(2, 6, 30)
HSLhsl(231, 88%, 6%)
HSVhsv(231, 93%, 12%)
CMYKcmyk(93.3%, 80%, 0%, 88.2%)
CIE-LABlab(2.14, 4.07, -13.92)
CIE-LCHlch(2.14, 14.50, 286.28°)
OKLaboklab(13.66% -0.0032 -0.0536)
OKLCHoklch(13.66% 0.054 266.6)
XYZxyz(0.3244, 0.2369, 1.2567)
Luminance0.0024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02061E #1E1A02
analogous
#02141E #02061E #0C021E
triadic
#02061E #1E0206 #061E02
tetradic
#02061E #1E0214 #1E1A02 #021E0C
square
#02061E #1E0214 #1E1A02 #021E0C
split-complementary
#02061E #1E0C02 #141E02
monochromatic
#02061D #02061D #02061E #061157 #0A1D91

Accessibility & contrast

On white

20.05
#02061E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#02061E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02061E
20.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02061E#FFFFFF#000000##FFFFFF
##02061E1.0020.051.0520.05
#FFFFFF20.051.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00091F
Deuteranopia (green-blind)
#00071E
Tritanopia (blue-blind)
#000C10
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #02061e;
/* rgb */ color: rgb(2, 6, 30);
/* oklch */ color: oklch(13.7% 0.054 266.6);
Tailwind
colors: {
  custom: {
    50: '#474959',
    500: '#02061e',
    950: '#000000',
  },
}
SCSS
$custom: #02061e;
$custom-light: #474959;
$custom-dark: #000000;
JSON
{
  "hex": "#02061e",
  "rgb": {
    "r": 2,
    "g": 6,
    "b": 30
  },
  "hsl": {
    "h": 231.429,
    "s": 87.5,
    "l": 6.275
  },
  "oklch": {
    "l": 0.13656,
    "c": 0.05366,
    "h": 266.6
  },
  "luminance": 0.00237
}

Semantic roles & 50–950 ramp

primary
#02061E
secondary
#645918
accent
#DF2AFE
background
#F4F4F5
surface
#E6E6E9
border
#C2C2C5
text
#000003
muted
#777778

Preview Lab

Preview with #02061E

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

Preview Lab → · Contrast checker → · Palette generator →

#02061E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva