#031F2D#031F2D

#031F2D is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 22.6% C 0.043 H 234.0°. Best body text is #FFFFFF at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#031F2D
RGBrgb(3, 31, 45)
HSLhsl(200, 88%, 9%)
HSVhsv(200, 93%, 18%)
CMYKcmyk(93.3%, 31.1%, 0%, 82.4%)
CIE-LABlab(10.47, -4.51, -12.38)
CIE-LCHlch(10.47, 13.18, 249.97°)
OKLaboklab(22.62% -0.0253 -0.0349)
OKLCHoklch(22.62% 0.043 234)
XYZxyz(1.0010, 1.1887, 2.6588)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031F2D #2D1103
analogous
#032D26 #031F2D #030A2D
triadic
#031F2D #2D031F #1F2D03
tetradic
#031F2D #26032D #2D1103 #0A2D03
square
#031F2D #26032D #2D1103 #0A2D03
split-complementary
#031F2D #2D030A #2D2603
monochromatic
#02141D #02141D #031F2D #074766 #0B6EA0

Accessibility & contrast

On white

16.97
#031F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031F2D
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031F2D#FFFFFF#000000##FFFFFF
##031F2D1.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181F2E
Deuteranopia (green-blind)
#121B2D
Tritanopia (blue-blind)
#002324
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #031f2d;
/* rgb */ color: rgb(3, 31, 45);
/* oklch */ color: oklch(22.6% 0.043 234.0);
Tailwind
colors: {
  custom: {
    50: '#4a5a66',
    500: '#031f2d',
    950: '#000000',
  },
}
SCSS
$custom: #031f2d;
$custom-light: #4a5a66;
$custom-dark: #000000;
JSON
{
  "hex": "#031f2d",
  "rgb": {
    "r": 3,
    "g": 31,
    "b": 45
  },
  "hsl": {
    "h": 200,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.22617,
    "c": 0.04317,
    "h": 234
  },
  "luminance": 0.01189
}

Semantic roles & 50–950 ramp

primary
#031F2D
secondary
#71381B
accent
#712AFE
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010305
muted
#77787A

Preview Lab

Preview with #031F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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