#06173B#06173B

#06173B is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.6% C 0.074 H 262.4°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#06173B
RGBrgb(6, 23, 59)
HSLhsl(221, 82%, 13%)
HSVhsv(221, 90%, 23%)
CMYKcmyk(89.8%, 61%, 0%, 76.9%)
CIE-LABlab(8.71, 8.94, -25.30)
CIE-LCHlch(8.71, 26.83, 289.47°)
OKLaboklab(21.62% -0.0097 -0.0729)
OKLCHoklch(21.62% 0.074 262.4)
XYZxyz(1.1706, 0.9671, 4.2618)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06173B #3B2A06
analogous
#06313B #06173B #10063B
triadic
#06173B #3B0617 #173B06
tetradic
#06173B #3B0631 #3B2A06 #063B10
square
#06173B #3B0631 #3B2A06 #063B10
split-complementary
#06173B #3B1006 #313B06
monochromatic
#030B1C #030B1C #06173B #0C2D73 #1142AA

Accessibility & contrast

On white

17.60
#06173B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#06173B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06173B
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06173B#FFFFFF#000000##FFFFFF
##06173B1.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011C3C
Deuteranopia (green-blind)
#00173A
Tritanopia (blue-blind)
#002026
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #06173b;
/* rgb */ color: rgb(6, 23, 59);
/* oklch */ color: oklch(21.6% 0.074 262.4);
Tailwind
colors: {
  custom: {
    50: '#505371',
    500: '#06173b',
    950: '#000000',
  },
}
SCSS
$custom: #06173b;
$custom-light: #505371;
$custom-dark: #000000;
JSON
{
  "hex": "#06173b",
  "rgb": {
    "r": 6,
    "g": 23,
    "b": 59
  },
  "hsl": {
    "h": 220.755,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.21615,
    "c": 0.07354,
    "h": 262.4
  },
  "luminance": 0.00967
}

Semantic roles & 50–950 ramp

primary
#06173B
secondary
#7B5E22
accent
#B830F8
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #06173B

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

Preview Lab → · Contrast checker → · Palette generator →

#06173B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva