#06173F#06173F

#06173F is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.0% C 0.080 H 263.4°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#06173F
RGBrgb(6, 23, 63)
HSLhsl(222, 83%, 14%)
HSVhsv(222, 90%, 25%)
CMYKcmyk(90.5%, 63.5%, 0%, 75.3%)
CIE-LABlab(9.08, 10.82, -27.56)
CIE-LCHlch(9.08, 29.61, 291.44°)
OKLaboklab(22% -0.0093 -0.0796)
OKLCHoklch(22% 0.08 263.4)
XYZxyz(1.2784, 1.0102, 4.8293)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06173F #3F2E06
analogous
#06333F #06173F #11063F
triadic
#06173F #3F0617 #173F06
tetradic
#06173F #3F0633 #3F2E06 #063F11
square
#06173F #3F0633 #3F2E06 #063F11
split-complementary
#06173F #3F1106 #333F06
monochromatic
#030A1C #030A1C #06173F #0B2B77 #1140AF

Accessibility & contrast

On white

17.47
#06173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06173F
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06173F#FFFFFF#000000##FFFFFF
##06173F1.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C40
Deuteranopia (green-blind)
#00173E
Tritanopia (blue-blind)
#002128
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #06173f;
/* rgb */ color: rgb(6, 23, 63);
/* oklch */ color: oklch(22.0% 0.080 263.4);
Tailwind
colors: {
  custom: {
    50: '#515374',
    500: '#06173f',
    950: '#000000',
  },
}
SCSS
$custom: #06173f;
$custom-light: #515374;
$custom-dark: #000000;
JSON
{
  "hex": "#06173f",
  "rgb": {
    "r": 6,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 222.105,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22003,
    "c": 0.0801,
    "h": 263.4
  },
  "luminance": 0.0101
}

Semantic roles & 50–950 ramp

primary
#06173F
secondary
#7F6322
accent
#BD2FF9
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #06173F

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

Preview Lab → · Contrast checker → · Palette generator →

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