#031B29#031B29

#031B29 is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.1% C 0.041 H 237.2°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#031B29
RGBrgb(3, 27, 41)
HSLhsl(202, 86%, 9%)
HSVhsv(202, 93%, 16%)
CMYKcmyk(92.7%, 34.1%, 0%, 83.9%)
CIE-LABlab(8.68, -3.43, -12.24)
CIE-LCHlch(8.68, 12.72, 254.33°)
OKLaboklab(21.11% -0.0223 -0.0346)
OKLCHoklch(21.11% 0.041 237.2)
XYZxyz(0.8296, 0.9632, 2.2396)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031B29 #291103
analogous
#032924 #031B29 #030829
triadic
#031B29 #29031B #1B2903
tetradic
#031B29 #240329 #291103 #082903
square
#031B29 #240329 #291103 #082903
split-complementary
#031B29 #290308 #292403
monochromatic
#02131D #02131D #031B29 #074162 #0B669B

Accessibility & contrast

On white

17.61
#031B29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#031B29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031B29
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031B29#FFFFFF#000000##FFFFFF
##031B291.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141B2A
Deuteranopia (green-blind)
#0F1729
Tritanopia (blue-blind)
#001F20
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #031b29;
/* rgb */ color: rgb(3, 27, 41);
/* oklch */ color: oklch(21.1% 0.041 237.2);
Tailwind
colors: {
  custom: {
    50: '#495762',
    500: '#031b29',
    950: '#000000',
  },
}
SCSS
$custom: #031b29;
$custom-light: #495762;
$custom-dark: #000000;
JSON
{
  "hex": "#031b29",
  "rgb": {
    "r": 3,
    "g": 27,
    "b": 41
  },
  "hsl": {
    "h": 202.105,
    "s": 86.364,
    "l": 8.627
  },
  "oklch": {
    "l": 0.21113,
    "c": 0.04118,
    "h": 237.2
  },
  "luminance": 0.00963
}

Semantic roles & 50–950 ramp

primary
#031B29
secondary
#6D391B
accent
#782BFD
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#010305
muted
#777879

Preview Lab

Preview with #031B29

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

Preview Lab → · Contrast checker → · Palette generator →

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