#06173A#06173A

#06173A is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.5% C 0.072 H 262.1°. Best body text is #FFFFFF at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#06173A
RGBrgb(6, 23, 58)
HSLhsl(220, 81%, 13%)
HSVhsv(220, 90%, 23%)
CMYKcmyk(89.7%, 60.3%, 0%, 77.3%)
CIE-LABlab(8.63, 8.46, -24.72)
CIE-LCHlch(8.63, 26.13, 288.90°)
OKLaboklab(21.52% -0.0098 -0.0712)
OKLCHoklch(21.52% 0.072 262.1)
XYZxyz(1.1449, 0.9569, 4.1265)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06173A #3A2906
analogous
#06313A #06173A #0F063A
triadic
#06173A #3A0617 #173A06
tetradic
#06173A #3A0631 #3A2906 #063A0F
square
#06173A #3A0631 #3A2906 #063A0F
split-complementary
#06173A #3A0F06 #313A06
monochromatic
#030B1C #030B1C #06173A #0C2D71 #1143A9

Accessibility & contrast

On white

17.63
#06173A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06173A
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06173A#FFFFFF#000000##FFFFFF
##06173A1.0017.631.1917.63
#FFFFFF17.631.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021B3B
Deuteranopia (green-blind)
#001639
Tritanopia (blue-blind)
#002025
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #06173a;
/* rgb */ color: rgb(6, 23, 58);
/* oklch */ color: oklch(21.5% 0.072 262.1);
Tailwind
colors: {
  custom: {
    50: '#4f5370',
    500: '#06173a',
    950: '#000000',
  },
}
SCSS
$custom: #06173a;
$custom-light: #4f5370;
$custom-dark: #000000;
JSON
{
  "hex": "#06173a",
  "rgb": {
    "r": 6,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 220.385,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.2152,
    "c": 0.07188,
    "h": 262.1
  },
  "luminance": 0.00957
}

Semantic roles & 50–950 ramp

primary
#06173A
secondary
#7A5D22
accent
#B630F8
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #06173A

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

Preview Lab → · Contrast checker → · Palette generator →

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