#031D39#031D39

#031D39 is a very dark, moderate cyan. Relative luminance 0.012; OKLCH L 22.9% C 0.063 H 252.6°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#031D39
RGBrgb(3, 29, 57)
HSLhsl(211, 90%, 12%)
HSVhsv(211, 95%, 22%)
CMYKcmyk(94.7%, 49.1%, 0%, 77.6%)
CIE-LABlab(10.51, 2.66, -20.98)
CIE-LCHlch(10.51, 21.15, 277.22°)
OKLaboklab(22.9% -0.0189 -0.0601)
OKLCHoklch(22.9% 0.063 252.6)
XYZxyz(1.2152, 1.1933, 4.0364)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031D39 #391F03
analogous
#033839 #031D39 #040339
triadic
#031D39 #39031D #1D3903
tetradic
#031D39 #390338 #391F03 #033904
square
#031D39 #390338 #391F03 #033904
split-complementary
#031D39 #390403 #383903
monochromatic
#020F1D #020F1D #031D39 #063B73 #0958AD

Accessibility & contrast

On white

16.95
#031D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031D39
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031D39#FFFFFF#000000##FFFFFF
##031D391.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1F3A
Deuteranopia (green-blind)
#051A38
Tritanopia (blue-blind)
#002428
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #031d39;
/* rgb */ color: rgb(3, 29, 57);
/* oklch */ color: oklch(22.9% 0.063 252.6);
Tailwind
colors: {
  custom: {
    50: '#4d586f',
    500: '#031d39',
    950: '#000000',
  },
}
SCSS
$custom: #031d39;
$custom-light: #4d586f;
$custom-dark: #000000;
JSON
{
  "hex": "#031d39",
  "rgb": {
    "r": 3,
    "g": 29,
    "b": 57
  },
  "hsl": {
    "h": 211.111,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.229,
    "c": 0.06302,
    "h": 252.6
  },
  "luminance": 0.01193
}

Semantic roles & 50–950 ramp

primary
#031D39
secondary
#7C4E1C
accent
#9829FF
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #031D39

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

Preview Lab → · Contrast checker → · Palette generator →

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