#031E3A#031E3A

#031E3A is a very dark, moderate cyan. Relative luminance 0.013; OKLCH L 23.3% C 0.063 H 252.0°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#031E3A
RGBrgb(3, 30, 58)
HSLhsl(211, 90%, 12%)
HSVhsv(211, 95%, 23%)
CMYKcmyk(94.8%, 48.3%, 0%, 77.3%)
CIE-LABlab(10.94, 2.36, -21.00)
CIE-LCHlch(10.94, 21.13, 276.42°)
OKLaboklab(23.26% -0.0196 -0.0601)
OKLCHoklch(23.26% 0.063 252)
XYZxyz(1.2653, 1.2532, 4.1774)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031E3A #3A1F03
analogous
#033A3A #031E3A #03033A
triadic
#031E3A #3A031E #1E3A03
tetradic
#031E3A #3A033A #3A1F03 #033A03
square
#031E3A #3A033A #3A1F03 #033A03
split-complementary
#031E3A #3A0303 #3A3A03
monochromatic
#020F1D #020F1D #031E3A #063C74 #095AAE

Accessibility & contrast

On white

16.79
#031E3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#031E3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031E3A
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031E3A#FFFFFF#000000##FFFFFF
##031E3A1.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10203B
Deuteranopia (green-blind)
#061B39
Tritanopia (blue-blind)
#002529
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #031e3a;
/* rgb */ color: rgb(3, 30, 58);
/* oklch */ color: oklch(23.3% 0.063 252.0);
Tailwind
colors: {
  custom: {
    50: '#4e5970',
    500: '#031e3a',
    950: '#000000',
  },
}
SCSS
$custom: #031e3a;
$custom-light: #4e5970;
$custom-dark: #000000;
JSON
{
  "hex": "#031e3a",
  "rgb": {
    "r": 3,
    "g": 30,
    "b": 58
  },
  "hsl": {
    "h": 210.545,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23264,
    "c": 0.06325,
    "h": 252
  },
  "luminance": 0.01253
}

Semantic roles & 50–950 ramp

primary
#031E3A
secondary
#7D4D1C
accent
#9629FF
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #031E3A

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

Preview Lab → · Contrast checker → · Palette generator →

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