#03172D#03172D

#03172D is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 20.2% C 0.052 H 251.8°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#03172D
RGBrgb(3, 23, 45)
HSLhsl(211, 88%, 9%)
HSVhsv(211, 93%, 18%)
CMYKcmyk(93.3%, 48.9%, 0%, 82.4%)
CIE-LABlab(7.42, 1.50, -17.19)
CIE-LCHlch(7.42, 17.26, 274.98°)
OKLaboklab(20.19% -0.0162 -0.0492)
OKLCHoklch(20.19% 0.052 251.8)
XYZxyz(0.8174, 0.8215, 2.5976)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03172D #2D1903
analogous
#032C2D #03172D #04032D
triadic
#03172D #2D0317 #172D03
tetradic
#03172D #2D032C #2D1903 #032D04
square
#03172D #2D032C #2D1903 #032D04
split-complementary
#03172D #2D0403 #2C2D03
monochromatic
#020F1D #020F1D #03172D #073466 #0B52A0

Accessibility & contrast

On white

18.04
#03172D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#03172D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03172D
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03172D#FFFFFF#000000##FFFFFF
##03172D1.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C192E
Deuteranopia (green-blind)
#06152D
Tritanopia (blue-blind)
#001C1F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #03172d;
/* rgb */ color: rgb(3, 23, 45);
/* oklch */ color: oklch(20.2% 0.052 251.8);
Tailwind
colors: {
  custom: {
    50: '#4a5366',
    500: '#03172d',
    950: '#000000',
  },
}
SCSS
$custom: #03172d;
$custom-light: #4a5366;
$custom-dark: #000000;
JSON
{
  "hex": "#03172d",
  "rgb": {
    "r": 3,
    "g": 23,
    "b": 45
  },
  "hsl": {
    "h": 211.429,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20194,
    "c": 0.05182,
    "h": 251.8
  },
  "luminance": 0.00822
}

Semantic roles & 50–950 ramp

primary
#03172D
secondary
#71481B
accent
#992AFE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #03172D

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

Preview Lab → · Contrast checker → · Palette generator →

#03172D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva