#031A31#031A31

#031A31 is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.4% C 0.054 H 250.4°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#031A31
RGBrgb(3, 26, 49)
HSLhsl(210, 88%, 10%)
HSVhsv(210, 94%, 19%)
CMYKcmyk(93.9%, 46.9%, 0%, 80.8%)
CIE-LABlab(8.82, 1.13, -17.90)
CIE-LCHlch(8.82, 17.94, 273.61°)
OKLaboklab(21.4% -0.0182 -0.0511)
OKLCHoklch(21.4% 0.054 250.4)
XYZxyz(0.9611, 0.9798, 3.0436)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031A31 #311A03
analogous
#033131 #031A31 #030331
triadic
#031A31 #31031A #1A3103
tetradic
#031A31 #310331 #311A03 #033103
square
#031A31 #310331 #311A03 #033103
split-complementary
#031A31 #310303 #313103
monochromatic
#020F1D #020F1D #031A31 #07396B #0A57A4

Accessibility & contrast

On white

17.56
#031A31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#031A31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031A31
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031A31#FFFFFF#000000##FFFFFF
##031A311.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1B32
Deuteranopia (green-blind)
#071731
Tritanopia (blue-blind)
#002023
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #031a31;
/* rgb */ color: rgb(3, 26, 49);
/* oklch */ color: oklch(21.4% 0.054 250.4);
Tailwind
colors: {
  custom: {
    50: '#4b5669',
    500: '#031a31',
    950: '#000000',
  },
}
SCSS
$custom: #031a31;
$custom-light: #4b5669;
$custom-dark: #000000;
JSON
{
  "hex": "#031a31",
  "rgb": {
    "r": 3,
    "g": 26,
    "b": 49
  },
  "hsl": {
    "h": 210,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21395,
    "c": 0.05428,
    "h": 250.4
  },
  "luminance": 0.0098
}

Semantic roles & 50–950 ramp

primary
#031A31
secondary
#74481B
accent
#9429FF
background
#F4F4F6
surface
#E7E8EB
border
#C3C4C6
text
#010306
muted
#77787A

Preview Lab

Preview with #031A31

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

Preview Lab → · Contrast checker → · Palette generator →

#031A31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva