#031D2B#031D2B

#031D2B is a very dark, muted cyan. Relative luminance 0.011; OKLCH L 21.9% C 0.042 H 235.6°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#031D2B
RGBrgb(3, 29, 43)
HSLhsl(201, 87%, 9%)
HSVhsv(201, 93%, 17%)
CMYKcmyk(93%, 32.6%, 0%, 83.1%)
CIE-LABlab(9.58, -3.98, -12.31)
CIE-LCHlch(9.58, 12.94, 252.08°)
OKLaboklab(21.87% -0.0238 -0.0348)
OKLCHoklch(21.87% 0.042 235.6)
XYZxyz(0.9128, 1.0724, 2.4439)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031D2B #2B1103
analogous
#032B25 #031D2B #03092B
triadic
#031D2B #2B031D #1D2B03
tetradic
#031D2B #25032B #2B1103 #092B03
square
#031D2B #25032B #2B1103 #092B03
split-complementary
#031D2B #2B0309 #2B2503
monochromatic
#02131D #02131D #031D2B #074464 #0B6A9D

Accessibility & contrast

On white

17.29
#031D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031D2B
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031D2B#FFFFFF#000000##FFFFFF
##031D2B1.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161D2C
Deuteranopia (green-blind)
#11192B
Tritanopia (blue-blind)
#002122
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #031d2b;
/* rgb */ color: rgb(3, 29, 43);
/* oklch */ color: oklch(21.9% 0.042 235.6);
Tailwind
colors: {
  custom: {
    50: '#495864',
    500: '#031d2b',
    950: '#000000',
  },
}
SCSS
$custom: #031d2b;
$custom-light: #495864;
$custom-dark: #000000;
JSON
{
  "hex": "#031d2b",
  "rgb": {
    "r": 3,
    "g": 29,
    "b": 43
  },
  "hsl": {
    "h": 201,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.21867,
    "c": 0.04216,
    "h": 235.6
  },
  "luminance": 0.01073
}

Semantic roles & 50–950 ramp

primary
#031D2B
secondary
#6F381B
accent
#742BFD
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#010305
muted
#777879

Preview Lab

Preview with #031D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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