#03161F#03161F

#03161F is a very dark, muted cyan. Relative luminance 0.007; OKLCH L 18.9% C 0.032 H 230.0°. Best body text is #FFFFFF at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#03161F
RGBrgb(3, 22, 31)
HSLhsl(199, 82%, 7%)
HSVhsv(199, 90%, 12%)
CMYKcmyk(90.3%, 29%, 0%, 87.8%)
CIE-LABlab(6.25, -3.52, -8.49)
CIE-LCHlch(6.25, 9.19, 247.45°)
OKLaboklab(18.87% -0.0205 -0.0245)
OKLCHoklch(18.87% 0.032 230)
XYZxyz(0.5717, 0.6920, 1.3995)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03161F #1F0C03
analogous
#031F1A #03161F #03081F
triadic
#03161F #1F0316 #161F03
tetradic
#03161F #1A031F #1F0C03 #081F03
square
#03161F #1A031F #1F0C03 #081F03
split-complementary
#03161F #1F0308 #1F1A03
monochromatic
#03141C #03141C #03161F #083E57 #0E658F

Accessibility & contrast

On white

18.45
#03161F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#03161F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03161F
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03161F#FFFFFF#000000##FFFFFF
##03161F1.0018.451.1418.45
#FFFFFF18.451.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11161F
Deuteranopia (green-blind)
#0D131F
Tritanopia (blue-blind)
#001819
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #03161f;
/* rgb */ color: rgb(3, 22, 31);
/* oklch */ color: oklch(18.9% 0.032 230.0);
Tailwind
colors: {
  custom: {
    50: '#47525a',
    500: '#03161f',
    950: '#000000',
  },
}
SCSS
$custom: #03161f;
$custom-light: #47525a;
$custom-dark: #000000;
JSON
{
  "hex": "#03161f",
  "rgb": {
    "r": 3,
    "g": 22,
    "b": 31
  },
  "hsl": {
    "h": 199.286,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.1887,
    "c": 0.032,
    "h": 230
  },
  "luminance": 0.00692
}

Semantic roles & 50–950 ramp

primary
#03161F
secondary
#63321B
accent
#702FF9
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #03161F

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

Preview Lab → · Contrast checker → · Palette generator →

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