#06072F#06072F

#06072F is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.5% C 0.078 H 272.6°. Best body text is #FFFFFF at 19.46:1 contrast (WCAG AA passes).

Color values

HEX#06072F
RGBrgb(6, 7, 47)
HSLhsl(239, 77%, 10%)
HSVhsv(239, 87%, 18%)
CMYKcmyk(87.2%, 85.1%, 0%, 81.6%)
CIE-LABlab(3.58, 11.79, -24.79)
CIE-LCHlch(3.58, 27.45, 295.44°)
OKLaboklab(16.51% 0.0035 -0.0778)
OKLCHoklch(16.51% 0.078 272.6)
XYZxyz(0.6640, 0.3958, 2.7302)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06072F #2F2E06
analogous
#061B2F #06072F #19062F
triadic
#06072F #2F0607 #072F06
tetradic
#06072F #2F061B #2F2E06 #062F19
square
#06072F #2F061B #2F2E06 #062F19
split-complementary
#06072F #2F1906 #1B2F06
monochromatic
#03041B #03041B #06072F #0D0F65 #14179C

Accessibility & contrast

On white

19.46
#06072F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06072F
19.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06072F#FFFFFF#000000##FFFFFF
##06072F1.0019.461.0819.46
#FFFFFF19.461.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F30
Deuteranopia (green-blind)
#000B2E
Tritanopia (blue-blind)
#00121A
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #06072f;
/* rgb */ color: rgb(6, 7, 47);
/* oklch */ color: oklch(16.5% 0.078 272.6);
Tailwind
colors: {
  custom: {
    50: '#4b4968',
    500: '#06072f',
    950: '#000000',
  },
}
SCSS
$custom: #06072f;
$custom-light: #4b4968;
$custom-dark: #000000;
JSON
{
  "hex": "#06072f",
  "rgb": {
    "r": 6,
    "g": 7,
    "b": 47
  },
  "hsl": {
    "h": 238.537,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.16508,
    "c": 0.0779,
    "h": 272.6
  },
  "luminance": 0.00396
}

Semantic roles & 50–950 ramp

primary
#06072F
secondary
#706E21
accent
#EF34F4
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010106
muted
#77777A

Preview Lab

Preview with #06072F

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

Preview Lab → · Contrast checker → · Palette generator →

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