#031F31#031F31

#031F31 is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 22.9% C 0.048 H 240.8°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#031F31
RGBrgb(3, 31, 49)
HSLhsl(203, 88%, 10%)
HSVhsv(203, 94%, 19%)
CMYKcmyk(93.9%, 36.7%, 0%, 80.8%)
CIE-LABlab(10.71, -2.66, -14.91)
CIE-LCHlch(10.71, 15.15, 259.87°)
OKLaboklab(22.88% -0.0237 -0.0423)
OKLCHoklch(22.88% 0.048 240.8)
XYZxyz(1.0817, 1.2209, 3.0838)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031F31 #311503
analogous
#03312C #031F31 #030831
triadic
#031F31 #31031F #1F3103
tetradic
#031F31 #2C0331 #311503 #083103
square
#031F31 #2C0331 #311503 #083103
split-complementary
#031F31 #310308 #312C03
monochromatic
#02121D #02121D #031F31 #07436B #0A68A4

Accessibility & contrast

On white

16.88
#031F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#031F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031F31
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031F31#FFFFFF#000000##FFFFFF
##031F311.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161F32
Deuteranopia (green-blind)
#101B31
Tritanopia (blue-blind)
#002325
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #031f31;
/* rgb */ color: rgb(3, 31, 49);
/* oklch */ color: oklch(22.9% 0.048 240.8);
Tailwind
colors: {
  custom: {
    50: '#4b5a69',
    500: '#031f31',
    950: '#000000',
  },
}
SCSS
$custom: #031f31;
$custom-light: #4b5a69;
$custom-dark: #000000;
JSON
{
  "hex": "#031f31",
  "rgb": {
    "r": 3,
    "g": 31,
    "b": 49
  },
  "hsl": {
    "h": 203.478,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.22883,
    "c": 0.04846,
    "h": 240.8
  },
  "luminance": 0.01221
}

Semantic roles & 50–950 ramp

primary
#031F31
secondary
#743E1B
accent
#7D29FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #031F31

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

Preview Lab → · Contrast checker → · Palette generator →

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