#03171F#03171F

#03171F is a very dark, muted cyan. Relative luminance 0.007; OKLCH L 19.2% C 0.032 H 226.1°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#03171F
RGBrgb(3, 23, 31)
HSLhsl(197, 82%, 7%)
HSVhsv(197, 90%, 12%)
CMYKcmyk(90.3%, 25.8%, 0%, 87.8%)
CIE-LABlab(6.60, -4.24, -7.95)
CIE-LCHlch(6.60, 9.01, 241.91°)
OKLaboklab(19.2% -0.0219 -0.0227)
OKLCHoklch(19.2% 0.032 226.1)
XYZxyz(0.5912, 0.7310, 1.4060)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03171F #1F0B03
analogous
#031F19 #03171F #03091F
triadic
#03171F #1F0317 #171F03
tetradic
#03171F #19031F #1F0B03 #091F03
square
#03171F #19031F #1F0B03 #091F03
split-complementary
#03171F #1F0309 #1F1903
monochromatic
#03151C #03151C #03171F #084057 #0E6A8F

Accessibility & contrast

On white

18.32
#03171F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#03171F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03171F
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03171F#FFFFFF#000000##FFFFFF
##03171F1.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13161F
Deuteranopia (green-blind)
#0F131F
Tritanopia (blue-blind)
#00191A
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #03171f;
/* rgb */ color: rgb(3, 23, 31);
/* oklch */ color: oklch(19.2% 0.032 226.1);
Tailwind
colors: {
  custom: {
    50: '#47535a',
    500: '#03171f',
    950: '#000000',
  },
}
SCSS
$custom: #03171f;
$custom-light: #47535a;
$custom-dark: #000000;
JSON
{
  "hex": "#03171f",
  "rgb": {
    "r": 3,
    "g": 23,
    "b": 31
  },
  "hsl": {
    "h": 197.143,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.19195,
    "c": 0.03154,
    "h": 226.1
  },
  "luminance": 0.00731
}

Semantic roles & 50–950 ramp

primary
#03171F
secondary
#632F1B
accent
#692FF9
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #03171F

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

Preview Lab → · Contrast checker → · Palette generator →

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