#06152C#06152C

#06152C is a very dark, muted blue. Relative luminance 0.008; OKLCH L 19.7% C 0.051 H 258.2°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#06152C
RGBrgb(6, 21, 44)
HSLhsl(216, 76%, 10%)
HSVhsv(216, 86%, 17%)
CMYKcmyk(86.4%, 52.3%, 0%, 82.7%)
CIE-LABlab(6.84, 3.21, -17.37)
CIE-LCHlch(6.84, 17.66, 280.47°)
OKLaboklab(19.73% -0.0105 -0.0499)
OKLCHoklch(19.73% 0.051 258.2)
XYZxyz(0.7977, 0.7568, 2.4864)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06152C #2C1D06
analogous
#06282C #06152C #0A062C
triadic
#06152C #2C0615 #152C06
tetradic
#06152C #2C0628 #2C1D06 #062C0A
square
#06152C #2C0628 #2C1D06 #062C0A
split-complementary
#06152C #2C0A06 #282C06
monochromatic
#040D1B #040D1B #06152C #0D2F62 #154898

Accessibility & contrast

On white

18.24
#06152C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06152C
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06152C#FFFFFF#000000##FFFFFF
##06152C1.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A172D
Deuteranopia (green-blind)
#05132C
Tritanopia (blue-blind)
#001A1E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #06152c;
/* rgb */ color: rgb(6, 21, 44);
/* oklch */ color: oklch(19.7% 0.051 258.2);
Tailwind
colors: {
  custom: {
    50: '#4b5165',
    500: '#06152c',
    950: '#000000',
  },
}
SCSS
$custom: #06152c;
$custom-light: #4b5165;
$custom-dark: #000000;
JSON
{
  "hex": "#06152c",
  "rgb": {
    "r": 6,
    "g": 21,
    "b": 44
  },
  "hsl": {
    "h": 216.316,
    "s": 76,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19732,
    "c": 0.05102,
    "h": 258.2
  },
  "luminance": 0.00757
}

Semantic roles & 50–950 ramp

primary
#06152C
secondary
#6D4F21
accent
#A835F3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #06152C

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

Preview Lab → · Contrast checker → · Palette generator →

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