#031831#031831

#031831 is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.8% C 0.057 H 253.6°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#031831
RGBrgb(3, 24, 49)
HSLhsl(213, 88%, 10%)
HSVhsv(213, 94%, 19%)
CMYKcmyk(93.9%, 51%, 0%, 80.8%)
CIE-LABlab(8.08, 2.71, -19.09)
CIE-LCHlch(8.08, 19.28, 278.09°)
OKLaboklab(20.81% -0.0161 -0.0547)
OKLCHoklch(20.81% 0.057 253.6)
XYZxyz(0.9184, 0.8943, 3.0293)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031831 #311C03
analogous
#032F31 #031831 #050331
triadic
#031831 #310318 #183103
tetradic
#031831 #31032F #311C03 #033105
square
#031831 #31032F #311C03 #033105
split-complementary
#031831 #310503 #2F3103
monochromatic
#020E1D #020E1D #031831 #07346B #0A50A4

Accessibility & contrast

On white

17.81
#031831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#031831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031831
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031831#FFFFFF#000000##FFFFFF
##0318311.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1A32
Deuteranopia (green-blind)
#041631
Tritanopia (blue-blind)
#001E22
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #031831;
/* rgb */ color: rgb(3, 24, 49);
/* oklch */ color: oklch(20.8% 0.057 253.6);
Tailwind
colors: {
  custom: {
    50: '#4b5469',
    500: '#031831',
    950: '#000000',
  },
}
SCSS
$custom: #031831;
$custom-light: #4b5469;
$custom-dark: #000000;
JSON
{
  "hex": "#031831",
  "rgb": {
    "r": 3,
    "g": 24,
    "b": 49
  },
  "hsl": {
    "h": 212.609,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20814,
    "c": 0.05701,
    "h": 253.6
  },
  "luminance": 0.00894
}

Semantic roles & 50–950 ramp

primary
#031831
secondary
#744C1B
accent
#9D29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #031831

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

Preview Lab → · Contrast checker → · Palette generator →

#031831 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva