#06062F#06062F

#06062F is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.3% C 0.080 H 273.1°. Best body text is #FFFFFF at 19.54:1 contrast (WCAG AA passes).

Color values

HEX#06062F
RGBrgb(6, 6, 47)
HSLhsl(240, 77%, 10%)
HSVhsv(240, 87%, 18%)
CMYKcmyk(87.2%, 87.2%, 0%, 81.6%)
CIE-LABlab(3.38, 12.19, -25.10)
CIE-LCHlch(3.38, 27.90, 295.90°)
OKLaboklab(16.26% 0.0043 -0.0795)
OKLCHoklch(16.26% 0.08 273.1)
XYZxyz(0.6531, 0.3741, 2.7266)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06062F #2F2F06
analogous
#061A2F #06062F #1A062F
triadic
#06062F #2F0606 #062F06
tetradic
#06062F #2F061A #2F2F06 #062F1A
square
#06062F #2F061A #2F2F06 #062F1A
split-complementary
#06062F #2F1A06 #1A2F06
monochromatic
#03031B #03031B #06062F #0D0D65 #14149C

Accessibility & contrast

On white

19.54
#06062F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#06062F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06062F
19.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06062F#FFFFFF#000000##FFFFFF
##06062F1.0019.541.0719.54
#FFFFFF19.541.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E30
Deuteranopia (green-blind)
#000A2E
Tritanopia (blue-blind)
#001119
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #06062f;
/* rgb */ color: rgb(6, 6, 47);
/* oklch */ color: oklch(16.3% 0.080 273.1);
Tailwind
colors: {
  custom: {
    50: '#4b4968',
    500: '#06062f',
    950: '#000000',
  },
}
SCSS
$custom: #06062f;
$custom-light: #4b4968;
$custom-dark: #000000;
JSON
{
  "hex": "#06062f",
  "rgb": {
    "r": 6,
    "g": 6,
    "b": 47
  },
  "hsl": {
    "h": 240,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.16263,
    "c": 0.07958,
    "h": 273.1
  },
  "luminance": 0.00374
}

Semantic roles & 50–950 ramp

primary
#06062F
secondary
#707021
accent
#F434F4
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #06062F

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

Preview Lab → · Contrast checker → · Palette generator →

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