#06042D#06042D

#06042D is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.5% C 0.080 H 274.7°. Best body text is #FFFFFF at 19.76:1 contrast (WCAG AA passes).

Color values

HEX#06042D
RGBrgb(6, 4, 45)
HSLhsl(243, 84%, 10%)
HSVhsv(243, 91%, 18%)
CMYKcmyk(86.7%, 91.1%, 0%, 82.4%)
CIE-LABlab(2.85, 11.99, -24.44)
CIE-LCHlch(2.85, 27.22, 296.12°)
OKLaboklab(15.47% 0.0066 -0.0799)
OKLCHoklch(15.47% 0.08 274.7)
XYZxyz(0.5920, 0.3150, 2.5117)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06042D #2B2D04
analogous
#04172D #06042D #1B042D
triadic
#06042D #2D0604 #042D06
tetradic
#06042D #2D0417 #2B2D04 #042D1B
square
#06042D #2D0417 #2B2D04 #042D1B
split-complementary
#06042D #2D1B04 #172D04
monochromatic
#04021C #04021C #06042D #0D0965 #150E9D

Accessibility & contrast

On white

19.76
#06042D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#06042D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06042D
19.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06042D#FFFFFF#000000##FFFFFF
##06042D1.0019.761.0619.76
#FFFFFF19.761.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2E
Deuteranopia (green-blind)
#00082C
Tritanopia (blue-blind)
#000F17
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #06042d;
/* rgb */ color: rgb(6, 4, 45);
/* oklch */ color: oklch(15.5% 0.080 274.7);
Tailwind
colors: {
  custom: {
    50: '#4a4866',
    500: '#06042d',
    950: '#000000',
  },
}
SCSS
$custom: #06042d;
$custom-light: #4a4866;
$custom-dark: #000000;
JSON
{
  "hex": "#06042d",
  "rgb": {
    "r": 6,
    "g": 4,
    "b": 45
  },
  "hsl": {
    "h": 242.927,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.15474,
    "c": 0.08014,
    "h": 274.7
  },
  "luminance": 0.00315
}

Semantic roles & 50–950 ramp

primary
#06042D
secondary
#6C701D
accent
#FA2EF0
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #06042D

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

Preview Lab → · Contrast checker → · Palette generator →

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