#06152E#06152E

#06152E is a very dark, muted blue. Relative luminance 0.008; OKLCH L 19.9% C 0.054 H 259.5°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#06152E
RGBrgb(6, 21, 46)
HSLhsl(218, 77%, 10%)
HSVhsv(218, 87%, 18%)
CMYKcmyk(87%, 54.3%, 0%, 82%)
CIE-LABlab(6.98, 4.19, -18.63)
CIE-LCHlch(6.98, 19.10, 282.67°)
OKLaboklab(19.9% -0.01 -0.0536)
OKLCHoklch(19.9% 0.055 259.5)
XYZxyz(0.8362, 0.7722, 2.6892)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06152E #2E1F06
analogous
#06292E #06152E #0B062E
triadic
#06152E #2E0615 #152E06
tetradic
#06152E #2E0629 #2E1F06 #062E0B
square
#06152E #2E0629 #2E1F06 #062E0B
split-complementary
#06152E #2E0B06 #292E06
monochromatic
#040C1B #040C1B #06152E #0D2E64 #14469A

Accessibility & contrast

On white

18.19
#06152E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#06152E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06152E
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06152E#FFFFFF#000000##FFFFFF
##06152E1.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08172F
Deuteranopia (green-blind)
#03142D
Tritanopia (blue-blind)
#001B1F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #06152e;
/* rgb */ color: rgb(6, 21, 46);
/* oklch */ color: oklch(19.9% 0.054 259.5);
Tailwind
colors: {
  custom: {
    50: '#4c5167',
    500: '#06152e',
    950: '#000000',
  },
}
SCSS
$custom: #06152e;
$custom-light: #4c5167;
$custom-dark: #000000;
JSON
{
  "hex": "#06152e",
  "rgb": {
    "r": 6,
    "g": 21,
    "b": 46
  },
  "hsl": {
    "h": 217.5,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.19901,
    "c": 0.0545,
    "h": 259.5
  },
  "luminance": 0.00772
}

Semantic roles & 50–950 ramp

primary
#06152E
secondary
#6F5221
accent
#AC34F3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #06152E

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

Preview Lab → · Contrast checker → · Palette generator →

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