#06173D#06173D

#06173D is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.8% C 0.077 H 262.9°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#06173D
RGBrgb(6, 23, 61)
HSLhsl(221, 82%, 13%)
HSVhsv(221, 90%, 24%)
CMYKcmyk(90.2%, 62.3%, 0%, 76.1%)
CIE-LABlab(8.89, 9.88, -26.43)
CIE-LCHlch(8.89, 28.22, 290.50°)
OKLaboklab(21.81% -0.0095 -0.0762)
OKLCHoklch(21.81% 0.077 262.9)
XYZxyz(1.2235, 0.9883, 4.5402)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06173D #3D2C06
analogous
#06323D #06173D #11063D
triadic
#06173D #3D0617 #173D06
tetradic
#06173D #3D0632 #3D2C06 #063D11
square
#06173D #3D0632 #3D2C06 #063D11
split-complementary
#06173D #3D1106 #323D06
monochromatic
#030B1C #030B1C #06173D #0B2C75 #1141AC

Accessibility & contrast

On white

17.54
#06173D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#06173D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06173D
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06173D#FFFFFF#000000##FFFFFF
##06173D1.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3E
Deuteranopia (green-blind)
#00173C
Tritanopia (blue-blind)
#002027
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #06173d;
/* rgb */ color: rgb(6, 23, 61);
/* oklch */ color: oklch(21.8% 0.077 262.9);
Tailwind
colors: {
  custom: {
    50: '#505373',
    500: '#06173d',
    950: '#000000',
  },
}
SCSS
$custom: #06173d;
$custom-light: #505373;
$custom-dark: #000000;
JSON
{
  "hex": "#06173d",
  "rgb": {
    "r": 6,
    "g": 23,
    "b": 61
  },
  "hsl": {
    "h": 221.455,
    "s": 82.09,
    "l": 13.137
  },
  "oklch": {
    "l": 0.21807,
    "c": 0.07683,
    "h": 262.9
  },
  "luminance": 0.00988
}

Semantic roles & 50–950 ramp

primary
#06173D
secondary
#7D6122
accent
#BA2FF8
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #06173D

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

Preview Lab → · Contrast checker → · Palette generator →

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