#03171A#03171A

#03171A is a very dark, muted teal. Relative luminance 0.007; OKLCH L 18.9% C 0.028 H 207.8°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#03171A
RGBrgb(3, 23, 26)
HSLhsl(188, 79%, 6%)
HSVhsv(188, 88%, 10%)
CMYKcmyk(88.5%, 11.5%, 0%, 89.8%)
CIE-LABlab(6.38, -5.79, -4.45)
CIE-LCHlch(6.38, 7.31, 217.55°)
OKLaboklab(18.91% -0.0246 -0.013)
OKLCHoklch(18.91% 0.028 207.8)
XYZxyz(0.5303, 0.7067, 1.0855)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03171A #1A0603
analogous
#031A11 #03171A #030B1A
triadic
#03171A #1A0317 #171A03
tetradic
#03171A #11031A #1A0603 #0B1A03
square
#03171A #11031A #1A0603 #0B1A03
split-complementary
#03171A #1A030B #1A1103
monochromatic
#03181B #03181B #03181B #094851 #107888

Accessibility & contrast

On white

18.40
#03171A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#03171A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03171A
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03171A#FFFFFF#000000##FFFFFF
##03171A1.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14161A
Deuteranopia (green-blind)
#10131A
Tritanopia (blue-blind)
#001918
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #03171a;
/* rgb */ color: rgb(3, 23, 26);
/* oklch */ color: oklch(18.9% 0.028 207.8);
Tailwind
colors: {
  custom: {
    50: '#475356',
    500: '#03171a',
    950: '#000000',
  },
}
SCSS
$custom: #03171a;
$custom-light: #475356;
$custom-dark: #000000;
JSON
{
  "hex": "#03171a",
  "rgb": {
    "r": 3,
    "g": 23,
    "b": 26
  },
  "hsl": {
    "h": 187.826,
    "s": 79.31,
    "l": 5.686
  },
  "oklch": {
    "l": 0.18909,
    "c": 0.02781,
    "h": 207.8
  },
  "luminance": 0.00707
}

Semantic roles & 50–950 ramp

primary
#03171A
secondary
#5E241B
accent
#4C32F6
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #03171A

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

Preview Lab → · Contrast checker → · Palette generator →

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