#06172F#06172F

#06172F is a very dark, muted blue. Relative luminance 0.009; OKLCH L 20.5% C 0.053 H 257.0°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#06172F
RGBrgb(6, 23, 47)
HSLhsl(215, 77%, 10%)
HSVhsv(215, 87%, 18%)
CMYKcmyk(87.2%, 51.1%, 0%, 81.6%)
CIE-LABlab(7.74, 3.24, -18.16)
CIE-LCHlch(7.74, 18.44, 280.13°)
OKLaboklab(20.55% -0.012 -0.0519)
OKLCHoklch(20.55% 0.053 257)
XYZxyz(0.8944, 0.8566, 2.8070)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06172F #2F1E06
analogous
#062B2F #06172F #09062F
triadic
#06172F #2F0617 #172F06
tetradic
#06172F #2F062B #2F1E06 #062F09
square
#06172F #2F062B #2F1E06 #062F09
split-complementary
#06172F #2F0906 #2B2F06
monochromatic
#030D1B #030D1B #06172F #0D3265 #144C9C

Accessibility & contrast

On white

17.93
#06172F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#06172F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06172F
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06172F#FFFFFF#000000##FFFFFF
##06172F1.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1930
Deuteranopia (green-blind)
#05152F
Tritanopia (blue-blind)
#001D20
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #06172f;
/* rgb */ color: rgb(6, 23, 47);
/* oklch */ color: oklch(20.5% 0.053 257.0);
Tailwind
colors: {
  custom: {
    50: '#4c5367',
    500: '#06172f',
    950: '#000000',
  },
}
SCSS
$custom: #06172f;
$custom-light: #4c5367;
$custom-dark: #000000;
JSON
{
  "hex": "#06172f",
  "rgb": {
    "r": 6,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 215.122,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20549,
    "c": 0.05328,
    "h": 257
  },
  "luminance": 0.00857
}

Semantic roles & 50–950 ramp

primary
#06172F
secondary
#704F21
accent
#A434F4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #06172F

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

Preview Lab → · Contrast checker → · Palette generator →

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