#031D3B#031D3B

#031D3B is a very dark, moderate cyan. Relative luminance 0.012; OKLCH L 23.1% C 0.066 H 253.9°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#031D3B
RGBrgb(3, 29, 59)
HSLhsl(212, 90%, 12%)
HSVhsv(212, 95%, 23%)
CMYKcmyk(94.9%, 50.8%, 0%, 76.9%)
CIE-LABlab(10.66, 3.62, -22.17)
CIE-LCHlch(10.66, 22.46, 279.27°)
OKLaboklab(23.07% -0.0184 -0.0636)
OKLCHoklch(23.07% 0.066 253.9)
XYZxyz(1.2660, 1.2137, 4.3044)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031D3B #3B2103
analogous
#03393B #031D3B #05033B
triadic
#031D3B #3B031D #1D3B03
tetradic
#031D3B #3B0339 #3B2103 #033B05
square
#031D3B #3B0339 #3B2103 #033B05
split-complementary
#031D3B #3B0503 #393B03
monochromatic
#010E1D #010E1D #031D3B #063A75 #0956AF

Accessibility & contrast

On white

16.90
#031D3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031D3B
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031D3B#FFFFFF#000000##FFFFFF
##031D3B1.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D203C
Deuteranopia (green-blind)
#031A3A
Tritanopia (blue-blind)
#002429
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #031d3b;
/* rgb */ color: rgb(3, 29, 59);
/* oklch */ color: oklch(23.1% 0.066 253.9);
Tailwind
colors: {
  custom: {
    50: '#4e5871',
    500: '#031d3b',
    950: '#000000',
  },
}
SCSS
$custom: #031d3b;
$custom-light: #4e5871;
$custom-dark: #000000;
JSON
{
  "hex": "#031d3b",
  "rgb": {
    "r": 3,
    "g": 29,
    "b": 59
  },
  "hsl": {
    "h": 212.143,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23065,
    "c": 0.06621,
    "h": 253.9
  },
  "luminance": 0.01214
}

Semantic roles & 50–950 ramp

primary
#031D3B
secondary
#7E501C
accent
#9C29FF
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #031D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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