#06042E#06042E

#06042E is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.6% C 0.082 H 274.4°. Best body text is #FFFFFF at 19.73:1 contrast (WCAG AA passes).

Color values

HEX#06042E
RGBrgb(6, 4, 46)
HSLhsl(243, 84%, 10%)
HSVhsv(243, 91%, 18%)
CMYKcmyk(87%, 91.3%, 0%, 82%)
CIE-LABlab(2.91, 12.49, -25.09)
CIE-LCHlch(2.91, 28.02, 296.46°)
OKLaboklab(15.61% 0.0063 -0.0814)
OKLCHoklch(15.61% 0.082 274.4)
XYZxyz(0.6115, 0.3227, 2.6143)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06042E #2C2E04
analogous
#04172E #06042E #1B042E
triadic
#06042E #2E0604 #042E06
tetradic
#06042E #2E0417 #2C2E04 #042E1B
square
#06042E #2E0417 #2C2E04 #042E1B
split-complementary
#06042E #2E1B04 #172E04
monochromatic
#04021C #04021C #06042E #0D0966 #150E9F

Accessibility & contrast

On white

19.73
#06042E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06042E
19.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06042E#FFFFFF#000000##FFFFFF
##06042E1.0019.731.0619.73
#FFFFFF19.731.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2F
Deuteranopia (green-blind)
#00092D
Tritanopia (blue-blind)
#001018
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #06042e;
/* rgb */ color: rgb(6, 4, 46);
/* oklch */ color: oklch(15.6% 0.082 274.4);
Tailwind
colors: {
  custom: {
    50: '#4b4867',
    500: '#06042e',
    950: '#000000',
  },
}
SCSS
$custom: #06042e;
$custom-light: #4b4867;
$custom-dark: #000000;
JSON
{
  "hex": "#06042e",
  "rgb": {
    "r": 6,
    "g": 4,
    "b": 46
  },
  "hsl": {
    "h": 242.857,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.15613,
    "c": 0.08165,
    "h": 274.4
  },
  "luminance": 0.00323
}

Semantic roles & 50–950 ramp

primary
#06042E
secondary
#6D711D
accent
#FA2EF1
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #06042E

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

Preview Lab → · Contrast checker → · Palette generator →

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