#03151F#03151F

#03151F is a very dark, muted cyan. Relative luminance 0.007; OKLCH L 18.5% C 0.033 H 233.9°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#03151F
RGBrgb(3, 21, 31)
HSLhsl(201, 82%, 7%)
HSVhsv(201, 90%, 12%)
CMYKcmyk(90.3%, 32.3%, 0%, 87.8%)
CIE-LABlab(5.91, -2.84, -9.00)
CIE-LCHlch(5.91, 9.44, 252.50°)
OKLaboklab(18.55% -0.0192 -0.0264)
OKLCHoklch(18.55% 0.033 233.9)
XYZxyz(0.5529, 0.6546, 1.3933)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03151F #1F0D03
analogous
#031F1B #03151F #03071F
triadic
#03151F #1F0315 #151F03
tetradic
#03151F #1B031F #1F0D03 #071F03
square
#03151F #1B031F #1F0D03 #071F03
split-complementary
#03151F #1F0307 #1F1B03
monochromatic
#03131C #03131C #03151F #083B57 #0E618F

Accessibility & contrast

On white

18.57
#03151F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#03151F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03151F
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03151F#FFFFFF#000000##FFFFFF
##03151F1.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10151F
Deuteranopia (green-blind)
#0C121F
Tritanopia (blue-blind)
#001818
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #03151f;
/* rgb */ color: rgb(3, 21, 31);
/* oklch */ color: oklch(18.5% 0.033 233.9);
Tailwind
colors: {
  custom: {
    50: '#47525a',
    500: '#03151f',
    950: '#000000',
  },
}
SCSS
$custom: #03151f;
$custom-light: #47525a;
$custom-dark: #000000;
JSON
{
  "hex": "#03151f",
  "rgb": {
    "r": 3,
    "g": 21,
    "b": 31
  },
  "hsl": {
    "h": 201.429,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.18546,
    "c": 0.03262,
    "h": 233.9
  },
  "luminance": 0.00655
}

Semantic roles & 50–950 ramp

primary
#03151F
secondary
#63351B
accent
#772FF9
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #03151F

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

Preview Lab → · Contrast checker → · Palette generator →

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