#03172F#03172F

#03172F is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 20.4% C 0.055 H 253.5°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#03172F
RGBrgb(3, 23, 47)
HSLhsl(213, 88%, 10%)
HSVhsv(213, 94%, 18%)
CMYKcmyk(93.6%, 51.1%, 0%, 81.6%)
CIE-LABlab(7.56, 2.49, -18.44)
CIE-LCHlch(7.56, 18.61, 277.70°)
OKLaboklab(20.36% -0.0156 -0.0529)
OKLCHoklch(20.36% 0.055 253.5)
XYZxyz(0.8568, 0.8373, 2.8052)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03172F #2F1B03
analogous
#032D2F #03172F #05032F
triadic
#03172F #2F0317 #172F03
tetradic
#03172F #2F032D #2F1B03 #032F05
square
#03172F #2F032D #2F1B03 #032F05
split-complementary
#03172F #2F0503 #2D2F03
monochromatic
#020E1D #020E1D #03172F #073369 #0A4FA2

Accessibility & contrast

On white

17.99
#03172F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#03172F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03172F
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03172F#FFFFFF#000000##FFFFFF
##03172F1.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1930
Deuteranopia (green-blind)
#04152F
Tritanopia (blue-blind)
#001D20
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #03172f;
/* rgb */ color: rgb(3, 23, 47);
/* oklch */ color: oklch(20.4% 0.055 253.5);
Tailwind
colors: {
  custom: {
    50: '#4a5367',
    500: '#03172f',
    950: '#000000',
  },
}
SCSS
$custom: #03172f;
$custom-light: #4a5367;
$custom-dark: #000000;
JSON
{
  "hex": "#03172f",
  "rgb": {
    "r": 3,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 212.727,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20358,
    "c": 0.05512,
    "h": 253.5
  },
  "luminance": 0.00837
}

Semantic roles & 50–950 ramp

primary
#03172F
secondary
#734B1B
accent
#9E2AFE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #03172F

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

Preview Lab → · Contrast checker → · Palette generator →

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