#06052F#06052F

#06052F is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.0% C 0.081 H 273.7°. Best body text is #FFFFFF at 19.62:1 contrast (WCAG AA passes).

Color values

HEX#06052F
RGBrgb(6, 5, 47)
HSLhsl(241, 81%, 10%)
HSVhsv(241, 89%, 18%)
CMYKcmyk(87.2%, 89.4%, 0%, 81.6%)
CIE-LABlab(3.18, 12.59, -25.41)
CIE-LCHlch(3.18, 28.36, 296.36°)
OKLaboklab(16.01% 0.0052 -0.0811)
OKLCHoklch(16.01% 0.081 273.7)
XYZxyz(0.6423, 0.3524, 2.7229)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06052F #2E2F05
analogous
#05192F #06052F #1B052F
triadic
#06052F #2F0605 #052F06
tetradic
#06052F #2F0519 #2E2F05 #052F1B
square
#06052F #2F0519 #2E2F05 #052F1B
split-complementary
#06052F #2F1B05 #192F05
monochromatic
#04031C #04031C #06052F #0D0B66 #14119E

Accessibility & contrast

On white

19.62
#06052F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06052F
19.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06052F#FFFFFF#000000##FFFFFF
##06052F1.0019.621.0719.62
#FFFFFF19.621.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E30
Deuteranopia (green-blind)
#00092E
Tritanopia (blue-blind)
#001119
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #06052f;
/* rgb */ color: rgb(6, 5, 47);
/* oklch */ color: oklch(16.0% 0.081 273.7);
Tailwind
colors: {
  custom: {
    50: '#4b4868',
    500: '#06052f',
    950: '#000000',
  },
}
SCSS
$custom: #06052f;
$custom-light: #4b4868;
$custom-dark: #000000;
JSON
{
  "hex": "#06052f",
  "rgb": {
    "r": 6,
    "g": 5,
    "b": 47
  },
  "hsl": {
    "h": 241.429,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.16012,
    "c": 0.08132,
    "h": 273.7
  },
  "luminance": 0.00352
}

Semantic roles & 50–950 ramp

primary
#06052F
secondary
#6F711F
accent
#F731F2
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #06052F

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

Preview Lab → · Contrast checker → · Palette generator →

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