#03172C#03172C

#03172C is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 20.1% C 0.050 H 250.8°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#03172C
RGBrgb(3, 23, 44)
HSLhsl(211, 87%, 9%)
HSVhsv(211, 93%, 17%)
CMYKcmyk(93.2%, 47.7%, 0%, 82.7%)
CIE-LABlab(7.35, 1.02, -16.56)
CIE-LCHlch(7.35, 16.59, 273.51°)
OKLaboklab(20.11% -0.0165 -0.0474)
OKLCHoklch(20.11% 0.05 250.8)
XYZxyz(0.7984, 0.8139, 2.4974)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03172C #2C1803
analogous
#032C2C #03172C #04032C
triadic
#03172C #2C0317 #172C03
tetradic
#03172C #2C032C #2C1803 #032C04
square
#03172C #2C032C #2C1803 #032C04
split-complementary
#03172C #2C0403 #2C2C03
monochromatic
#020F1D #020F1D #03172C #073565 #0B539F

Accessibility & contrast

On white

18.06
#03172C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #03172C
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03172C#FFFFFF#000000##FFFFFF
##03172C1.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D182D
Deuteranopia (green-blind)
#06142C
Tritanopia (blue-blind)
#001C1F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #03172c;
/* rgb */ color: rgb(3, 23, 44);
/* oklch */ color: oklch(20.1% 0.050 250.8);
Tailwind
colors: {
  custom: {
    50: '#495365',
    500: '#03172c',
    950: '#000000',
  },
}
SCSS
$custom: #03172c;
$custom-light: #495365;
$custom-dark: #000000;
JSON
{
  "hex": "#03172c",
  "rgb": {
    "r": 3,
    "g": 23,
    "b": 44
  },
  "hsl": {
    "h": 210.732,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20114,
    "c": 0.05019,
    "h": 250.8
  },
  "luminance": 0.00814
}

Semantic roles & 50–950 ramp

primary
#03172C
secondary
#70461B
accent
#962AFD
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #03172C

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

Preview Lab → · Contrast checker → · Palette generator →

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