#031D2C#031D2C

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

Color values

HEX#031D2C
RGBrgb(3, 29, 44)
HSLhsl(202, 87%, 9%)
HSVhsv(202, 93%, 17%)
CMYKcmyk(93.2%, 34.1%, 0%, 82.7%)
CIE-LABlab(9.64, -3.52, -12.95)
CIE-LCHlch(9.64, 13.42, 254.81°)
OKLaboklab(21.93% -0.0234 -0.0366)
OKLCHoklch(21.93% 0.043 237.4)
XYZxyz(0.9314, 1.0798, 2.5417)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031D2C #2C1203
analogous
#032C27 #031D2C #03092C
triadic
#031D2C #2C031D #1D2C03
tetradic
#031D2C #27032C #2C1203 #092C03
square
#031D2C #27032C #2C1203 #092C03
split-complementary
#031D2C #2C0309 #2C2703
monochromatic
#02131D #02131D #031D2C #074365 #0B699F

Accessibility & contrast

On white

17.27
#031D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#031D2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031D2C
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031D2C#FFFFFF#000000##FFFFFF
##031D2C1.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161D2D
Deuteranopia (green-blind)
#10192C
Tritanopia (blue-blind)
#002122
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #031d2c;
/* rgb */ color: rgb(3, 29, 44);
/* oklch */ color: oklch(21.9% 0.043 237.4);
Tailwind
colors: {
  custom: {
    50: '#4a5865',
    500: '#031d2c',
    950: '#000000',
  },
}
SCSS
$custom: #031d2c;
$custom-light: #4a5865;
$custom-dark: #000000;
JSON
{
  "hex": "#031d2c",
  "rgb": {
    "r": 3,
    "g": 29,
    "b": 44
  },
  "hsl": {
    "h": 201.951,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.21933,
    "c": 0.04347,
    "h": 237.4
  },
  "luminance": 0.0108
}

Semantic roles & 50–950 ramp

primary
#031D2C
secondary
#703A1B
accent
#782AFD
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010305
muted
#77787A

Preview Lab

Preview with #031D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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