#031D3A#031D3A

#031D3A is a very dark, moderate cyan. Relative luminance 0.012; OKLCH L 23.0% C 0.065 H 253.3°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#031D3A
RGBrgb(3, 29, 58)
HSLhsl(212, 90%, 12%)
HSVhsv(212, 95%, 23%)
CMYKcmyk(94.8%, 50%, 0%, 77.3%)
CIE-LABlab(10.58, 3.14, -21.58)
CIE-LCHlch(10.58, 21.80, 278.27°)
OKLaboklab(22.98% -0.0186 -0.0619)
OKLCHoklch(22.98% 0.065 253.3)
XYZxyz(1.2403, 1.2034, 4.1691)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031D3A #3A2003
analogous
#03393A #031D3A #04033A
triadic
#031D3A #3A031D #1D3A03
tetradic
#031D3A #3A0339 #3A2003 #033A04
square
#031D3A #3A0339 #3A2003 #033A04
split-complementary
#031D3A #3A0403 #393A03
monochromatic
#020F1D #020F1D #031D3A #063A74 #0957AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##031D3A#FFFFFF#000000##FFFFFF
##031D3A1.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)
#0E1F3B
Deuteranopia (green-blind)
#041A39
Tritanopia (blue-blind)
#002428
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #031d3a;
/* rgb */ color: rgb(3, 29, 58);
/* oklch */ color: oklch(23.0% 0.065 253.3);
Tailwind
colors: {
  custom: {
    50: '#4e5870',
    500: '#031d3a',
    950: '#000000',
  },
}
SCSS
$custom: #031d3a;
$custom-light: #4e5870;
$custom-dark: #000000;
JSON
{
  "hex": "#031d3a",
  "rgb": {
    "r": 3,
    "g": 29,
    "b": 58
  },
  "hsl": {
    "h": 211.636,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22982,
    "c": 0.06462,
    "h": 253.3
  },
  "luminance": 0.01204
}

Semantic roles & 50–950 ramp

primary
#031D3A
secondary
#7D4F1C
accent
#9A29FF
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #031D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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