#03131F#03131F

#03131F is a very dark, muted cyan. Relative luminance 0.006; OKLCH L 17.9% C 0.034 H 241.1°. Best body text is #FFFFFF at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#03131F
RGBrgb(3, 19, 31)
HSLhsl(206, 82%, 7%)
HSVhsv(206, 90%, 12%)
CMYKcmyk(90.3%, 38.7%, 0%, 87.8%)
CIE-LABlab(5.28, -1.53, -9.97)
CIE-LCHlch(5.28, 10.08, 261.27°)
OKLaboklab(17.9% -0.0165 -0.03)
OKLCHoklch(17.9% 0.034 241.1)
XYZxyz(0.5177, 0.5840, 1.3815)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03131F #1F0F03
analogous
#031F1D #03131F #03051F
triadic
#03131F #1F0313 #131F03
tetradic
#03131F #1D031F #1F0F03 #051F03
square
#03131F #1D031F #1F0F03 #051F03
split-complementary
#03131F #1F0305 #1F1D03
monochromatic
#03111C #03111C #03131F #083557 #0E578F

Accessibility & contrast

On white

18.80
#03131F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#03131F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03131F
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03131F#FFFFFF#000000##FFFFFF
##03131F1.0018.801.1218.80
#FFFFFF18.801.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1320
Deuteranopia (green-blind)
#09101F
Tritanopia (blue-blind)
#001617
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #03131f;
/* rgb */ color: rgb(3, 19, 31);
/* oklch */ color: oklch(17.9% 0.034 241.1);
Tailwind
colors: {
  custom: {
    50: '#47505a',
    500: '#03131f',
    950: '#000000',
  },
}
SCSS
$custom: #03131f;
$custom-light: #47505a;
$custom-dark: #000000;
JSON
{
  "hex": "#03131f",
  "rgb": {
    "r": 3,
    "g": 19,
    "b": 31
  },
  "hsl": {
    "h": 205.714,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.17902,
    "c": 0.0343,
    "h": 241.1
  },
  "luminance": 0.00584
}

Semantic roles & 50–950 ramp

primary
#03131F
secondary
#633A1B
accent
#852FF9
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #03131F

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

Preview Lab → · Contrast checker → · Palette generator →

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