#06173C#06173C

#06173C is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.7% C 0.075 H 262.7°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#06173C
RGBrgb(6, 23, 60)
HSLhsl(221, 82%, 13%)
HSVhsv(221, 90%, 24%)
CMYKcmyk(90%, 61.7%, 0%, 76.5%)
CIE-LABlab(8.80, 9.41, -25.87)
CIE-LCHlch(8.80, 27.52, 289.99°)
OKLaboklab(21.71% -0.0096 -0.0746)
OKLCHoklch(21.71% 0.075 262.7)
XYZxyz(1.1968, 0.9776, 4.3997)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06173C #3C2B06
analogous
#06323C #06173C #10063C
triadic
#06173C #3C0617 #173C06
tetradic
#06173C #3C0632 #3C2B06 #063C10
square
#06173C #3C0632 #3C2B06 #063C10
split-complementary
#06173C #3C1006 #323C06
monochromatic
#030B1C #030B1C #06173C #0C2C74 #1142AB

Accessibility & contrast

On white

17.56
#06173C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06173C
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06173C#FFFFFF#000000##FFFFFF
##06173C1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3D
Deuteranopia (green-blind)
#00173B
Tritanopia (blue-blind)
#002026
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #06173c;
/* rgb */ color: rgb(6, 23, 60);
/* oklch */ color: oklch(21.7% 0.075 262.7);
Tailwind
colors: {
  custom: {
    50: '#505372',
    500: '#06173c',
    950: '#000000',
  },
}
SCSS
$custom: #06173c;
$custom-light: #505372;
$custom-dark: #000000;
JSON
{
  "hex": "#06173c",
  "rgb": {
    "r": 6,
    "g": 23,
    "b": 60
  },
  "hsl": {
    "h": 221.111,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.2171,
    "c": 0.07519,
    "h": 262.7
  },
  "luminance": 0.00978
}

Semantic roles & 50–950 ramp

primary
#06173C
secondary
#7C6022
accent
#B930F8
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #06173C

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

Preview Lab → · Contrast checker → · Palette generator →

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