#06042F#06042F

#06042F is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.8% C 0.083 H 274.2°. Best body text is #FFFFFF at 19.70:1 contrast (WCAG AA passes).

Color values

HEX#06042F
RGBrgb(6, 4, 47)
HSLhsl(243, 84%, 10%)
HSVhsv(243, 91%, 18%)
CMYKcmyk(87.2%, 91.5%, 0%, 81.6%)
CIE-LABlab(2.99, 12.99, -25.72)
CIE-LCHlch(2.99, 28.82, 296.79°)
OKLaboklab(15.75% 0.006 -0.0829)
OKLCHoklch(15.75% 0.083 274.2)
XYZxyz(0.6314, 0.3307, 2.7193)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06042F #2D2F04
analogous
#04172F #06042F #1C042F
triadic
#06042F #2F0604 #042F06
tetradic
#06042F #2F0417 #2D2F04 #042F1C
square
#06042F #2F0417 #2D2F04 #042F1C
split-complementary
#06042F #2F1C04 #172F04
monochromatic
#04021C #04021C #06042F #0D0967 #140EA0

Accessibility & contrast

On white

19.70
#06042F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06042F
19.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06042F#FFFFFF#000000##FFFFFF
##06042F1.0019.701.0719.70
#FFFFFF19.701.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D30
Deuteranopia (green-blind)
#00092E
Tritanopia (blue-blind)
#001019
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #06042f;
/* rgb */ color: rgb(6, 4, 47);
/* oklch */ color: oklch(15.8% 0.083 274.2);
Tailwind
colors: {
  custom: {
    50: '#4b4868',
    500: '#06042f',
    950: '#000000',
  },
}
SCSS
$custom: #06042f;
$custom-light: #4b4868;
$custom-dark: #000000;
JSON
{
  "hex": "#06042f",
  "rgb": {
    "r": 6,
    "g": 4,
    "b": 47
  },
  "hsl": {
    "h": 242.791,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.15752,
    "c": 0.08313,
    "h": 274.2
  },
  "luminance": 0.00331
}

Semantic roles & 50–950 ramp

primary
#06042F
secondary
#6E721D
accent
#FB2DF1
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #06042F

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

Preview Lab → · Contrast checker → · Palette generator →

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