#031F2F#031F2F

#031F2F is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 22.7% C 0.046 H 237.6°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#031F2F
RGBrgb(3, 31, 47)
HSLhsl(202, 88%, 10%)
HSVhsv(202, 94%, 18%)
CMYKcmyk(93.6%, 34%, 0%, 81.6%)
CIE-LABlab(10.59, -3.59, -13.65)
CIE-LCHlch(10.59, 14.12, 255.25°)
OKLaboklab(22.75% -0.0245 -0.0386)
OKLCHoklch(22.75% 0.046 237.6)
XYZxyz(1.0404, 1.2044, 2.8664)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031F2F #2F1303
analogous
#032F29 #031F2F #03092F
triadic
#031F2F #2F031F #1F2F03
tetradic
#031F2F #29032F #2F1303 #092F03
square
#031F2F #29032F #2F1303 #092F03
split-complementary
#031F2F #2F0309 #2F2903
monochromatic
#02131D #02131D #031F2F #074569 #0A6BA2

Accessibility & contrast

On white

16.92
#031F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031F2F
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031F2F#FFFFFF#000000##FFFFFF
##031F2F1.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171F30
Deuteranopia (green-blind)
#111B2F
Tritanopia (blue-blind)
#002325
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #031f2f;
/* rgb */ color: rgb(3, 31, 47);
/* oklch */ color: oklch(22.7% 0.046 237.6);
Tailwind
colors: {
  custom: {
    50: '#4b5a67',
    500: '#031f2f',
    950: '#000000',
  },
}
SCSS
$custom: #031f2f;
$custom-light: #4b5a67;
$custom-dark: #000000;
JSON
{
  "hex": "#031f2f",
  "rgb": {
    "r": 3,
    "g": 31,
    "b": 47
  },
  "hsl": {
    "h": 201.818,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.22748,
    "c": 0.04574,
    "h": 237.6
  },
  "luminance": 0.01205
}

Semantic roles & 50–950 ramp

primary
#031F2F
secondary
#733B1B
accent
#772AFE
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #031F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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