#06152F#06152F

#06152F is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.0% C 0.056 H 260.0°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#06152F
RGBrgb(6, 21, 47)
HSLhsl(218, 77%, 10%)
HSVhsv(218, 87%, 18%)
CMYKcmyk(87.2%, 55.3%, 0%, 81.6%)
CIE-LABlab(7.05, 4.69, -19.26)
CIE-LCHlch(7.05, 19.82, 283.70°)
OKLaboklab(19.99% -0.0097 -0.0554)
OKLCHoklch(19.99% 0.056 260)
XYZxyz(0.8562, 0.7802, 2.7942)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06152F #2F2006
analogous
#06292F #06152F #0C062F
triadic
#06152F #2F0615 #152F06
tetradic
#06152F #2F0629 #2F2006 #062F0C
square
#06152F #2F0629 #2F2006 #062F0C
split-complementary
#06152F #2F0C06 #292F06
monochromatic
#030C1B #030C1B #06152F #0D2D65 #14459C

Accessibility & contrast

On white

18.17
#06152F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#06152F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06152F
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06152F#FFFFFF#000000##FFFFFF
##06152F1.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081830
Deuteranopia (green-blind)
#02142E
Tritanopia (blue-blind)
#001B1F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #06152f;
/* rgb */ color: rgb(6, 21, 47);
/* oklch */ color: oklch(20.0% 0.056 260.0);
Tailwind
colors: {
  custom: {
    50: '#4c5167',
    500: '#06152f',
    950: '#000000',
  },
}
SCSS
$custom: #06152f;
$custom-light: #4c5167;
$custom-dark: #000000;
JSON
{
  "hex": "#06152f",
  "rgb": {
    "r": 6,
    "g": 21,
    "b": 47
  },
  "hsl": {
    "h": 218.049,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.19987,
    "c": 0.05623,
    "h": 260
  },
  "luminance": 0.0078
}

Semantic roles & 50–950 ramp

primary
#06152F
secondary
#705321
accent
#AE34F4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #06152F

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

Preview Lab → · Contrast checker → · Palette generator →

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