#031B31#031B31

#031B31 is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.7% C 0.053 H 248.7°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#031B31
RGBrgb(3, 27, 49)
HSLhsl(209, 88%, 10%)
HSVhsv(209, 94%, 19%)
CMYKcmyk(93.9%, 44.9%, 0%, 80.8%)
CIE-LABlab(9.20, 0.35, -17.30)
CIE-LCHlch(9.20, 17.31, 271.16°)
OKLaboklab(21.69% -0.0192 -0.0494)
OKLCHoklch(21.69% 0.053 248.7)
XYZxyz(0.9836, 1.0249, 3.0511)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031B31 #311903
analogous
#033130 #031B31 #030431
triadic
#031B31 #31031B #1B3103
tetradic
#031B31 #300331 #311903 #043103
square
#031B31 #300331 #311903 #043103
split-complementary
#031B31 #310304 #313003
monochromatic
#02101D #02101D #031B31 #073B6B #0A5BA4

Accessibility & contrast

On white

17.43
#031B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#031B31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031B31
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031B31#FFFFFF#000000##FFFFFF
##031B311.0017.431.2117.43
#FFFFFF17.431.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101C32
Deuteranopia (green-blind)
#091831
Tritanopia (blue-blind)
#002023
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #031b31;
/* rgb */ color: rgb(3, 27, 49);
/* oklch */ color: oklch(21.7% 0.053 248.7);
Tailwind
colors: {
  custom: {
    50: '#4b5669',
    500: '#031b31',
    950: '#000000',
  },
}
SCSS
$custom: #031b31;
$custom-light: #4b5669;
$custom-dark: #000000;
JSON
{
  "hex": "#031b31",
  "rgb": {
    "r": 3,
    "g": 27,
    "b": 49
  },
  "hsl": {
    "h": 208.696,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21689,
    "c": 0.053,
    "h": 248.7
  },
  "luminance": 0.01025
}

Semantic roles & 50–950 ramp

primary
#031B31
secondary
#74461B
accent
#8F29FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #031B31

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

Preview Lab → · Contrast checker → · Palette generator →

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