#06172B#06172B

#06172B is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 20.2% C 0.046 H 253.5°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#06172B
RGBrgb(6, 23, 43)
HSLhsl(212, 76%, 10%)
HSVhsv(212, 86%, 17%)
CMYKcmyk(86%, 46.5%, 0%, 83.1%)
CIE-LABlab(7.46, 1.33, -15.64)
CIE-LCHlch(7.46, 15.70, 274.87°)
OKLaboklab(20.23% -0.0132 -0.0446)
OKLCHoklch(20.23% 0.046 253.5)
XYZxyz(0.8174, 0.8258, 2.4014)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06172B #2B1A06
analogous
#062A2B #06172B #07062B
triadic
#06172B #2B0617 #172B06
tetradic
#06172B #2B062A #2B1A06 #062B07
square
#06172B #2B062A #2B1A06 #062B07
split-complementary
#06172B #2B0706 #2A2B06
monochromatic
#040E1B #040E1B #06172B #0D3461 #155096

Accessibility & contrast

On white

18.02
#06172B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#06172B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06172B
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06172B#FFFFFF#000000##FFFFFF
##06172B1.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E182C
Deuteranopia (green-blind)
#08152B
Tritanopia (blue-blind)
#001C1E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #06172b;
/* rgb */ color: rgb(6, 23, 43);
/* oklch */ color: oklch(20.2% 0.046 253.5);
Tailwind
colors: {
  custom: {
    50: '#4b5364',
    500: '#06172b',
    950: '#000000',
  },
}
SCSS
$custom: #06172b;
$custom-light: #4b5364;
$custom-dark: #000000;
JSON
{
  "hex": "#06172b",
  "rgb": {
    "r": 6,
    "g": 23,
    "b": 43
  },
  "hsl": {
    "h": 212.432,
    "s": 75.51,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20232,
    "c": 0.04649,
    "h": 253.5
  },
  "luminance": 0.00826
}

Semantic roles & 50–950 ramp

primary
#06172B
secondary
#6C4921
accent
#9C36F2
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #06172B

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

Preview Lab → · Contrast checker → · Palette generator →

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