#06072D#06072D

#06072D is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.3% C 0.075 H 272.9°. Best body text is #FFFFFF at 19.52:1 contrast (WCAG AA passes).

Color values

HEX#06072D
RGBrgb(6, 7, 45)
HSLhsl(238, 76%, 10%)
HSVhsv(238, 87%, 18%)
CMYKcmyk(86.7%, 84.4%, 0%, 82.4%)
CIE-LABlab(3.43, 10.79, -23.51)
CIE-LCHlch(3.43, 25.87, 294.65°)
OKLaboklab(16.26% 0.0038 -0.0746)
OKLCHoklch(16.26% 0.075 272.9)
XYZxyz(0.6246, 0.3801, 2.5226)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06072D #2D2C06
analogous
#061A2D #06072D #19062D
triadic
#06072D #2D0607 #072D06
tetradic
#06072D #2D061A #2D2C06 #062D19
square
#06072D #2D061A #2D2C06 #062D19
split-complementary
#06072D #2D1906 #1A2D06
monochromatic
#04041B #04041B #06072D #0D0F63 #141899

Accessibility & contrast

On white

19.52
#06072D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#06072D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06072D
19.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06072D#FFFFFF#000000##FFFFFF
##06072D1.0019.521.0819.52
#FFFFFF19.521.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #06072d;
/* rgb */ color: rgb(6, 7, 45);
/* oklch */ color: oklch(16.3% 0.075 272.9);
Tailwind
colors: {
  custom: {
    50: '#4b4966',
    500: '#06072d',
    950: '#000000',
  },
}
SCSS
$custom: #06072d;
$custom-light: #4b4966;
$custom-dark: #000000;
JSON
{
  "hex": "#06072d",
  "rgb": {
    "r": 6,
    "g": 7,
    "b": 45
  },
  "hsl": {
    "h": 238.462,
    "s": 76.471,
    "l": 10
  },
  "oklch": {
    "l": 0.16256,
    "c": 0.07472,
    "h": 272.9
  },
  "luminance": 0.0038
}

Semantic roles & 50–950 ramp

primary
#06072D
secondary
#6E6C21
accent
#EE35F3
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010106
muted
#77777A

Preview Lab

Preview with #06072D

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

Preview Lab → · Contrast checker → · Palette generator →

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