#06022F#06022F

#06022F is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.2% C 0.087 H 275.1°. Best body text is #FFFFFF at 19.86:1 contrast (WCAG AA passes).

Color values

HEX#06022F
RGBrgb(6, 2, 47)
HSLhsl(245, 92%, 10%)
HSVhsv(245, 96%, 18%)
CMYKcmyk(87.2%, 95.7%, 0%, 81.6%)
CIE-LABlab(2.60, 13.79, -26.35)
CIE-LCHlch(2.60, 29.74, 297.63°)
OKLaboklab(15.2% 0.0077 -0.0866)
OKLCHoklch(15.2% 0.087 275.1)
XYZxyz(0.6097, 0.2873, 2.7121)
Luminance0.0029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06022F #2B2F02
analogous
#02152F #06022F #1D022F
triadic
#06022F #2F0602 #022F06
tetradic
#06022F #2F0215 #2B2F02 #022F1D
square
#06022F #2F0215 #2B2F02 #022F1D
split-complementary
#06022F #2F1D02 #152F02
monochromatic
#04011D #04011D #06022F #0D046A #1507A4

Accessibility & contrast

On white

19.86
#06022F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#06022F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06022F
19.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06022F#FFFFFF#000000##FFFFFF
##06022F1.0019.861.0619.86
#FFFFFF19.861.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B30
Deuteranopia (green-blind)
#00072E
Tritanopia (blue-blind)
#000F18
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #06022f;
/* rgb */ color: rgb(6, 2, 47);
/* oklch */ color: oklch(15.2% 0.087 275.1);
Tailwind
colors: {
  custom: {
    50: '#4b4768',
    500: '#06022f',
    950: '#000000',
  },
}
SCSS
$custom: #06022f;
$custom-light: #4b4768;
$custom-dark: #000000;
JSON
{
  "hex": "#06022f",
  "rgb": {
    "r": 6,
    "g": 2,
    "b": 47
  },
  "hsl": {
    "h": 245.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.15204,
    "c": 0.08698,
    "h": 275.1
  },
  "luminance": 0.00287
}

Semantic roles & 50–950 ramp

primary
#06022F
secondary
#6C7419
accent
#FF29EC
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010006
muted
#77777A

Preview Lab

Preview with #06022F

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

Preview Lab → · Contrast checker → · Palette generator →

#06022F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva