#031E39#031E39

#031E39 is a very dark, moderate cyan. Relative luminance 0.012; OKLCH L 23.2% C 0.062 H 251.2°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#031E39
RGBrgb(3, 30, 57)
HSLhsl(210, 90%, 12%)
HSVhsv(210, 95%, 22%)
CMYKcmyk(94.7%, 47.4%, 0%, 77.6%)
CIE-LABlab(10.87, 1.88, -20.40)
CIE-LCHlch(10.87, 20.49, 275.26°)
OKLaboklab(23.18% -0.0198 -0.0584)
OKLCHoklch(23.18% 0.062 251.2)
XYZxyz(1.2401, 1.2432, 4.0447)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031E39 #391E03
analogous
#033939 #031E39 #030339
triadic
#031E39 #39031E #1E3903
tetradic
#031E39 #390339 #391E03 #033903
square
#031E39 #390339 #391E03 #033903
split-complementary
#031E39 #390303 #393903
monochromatic
#020F1D #020F1D #031E39 #063D73 #095BAD

Accessibility & contrast

On white

16.82
#031E39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031E39
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031E39#FFFFFF#000000##FFFFFF
##031E391.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11203A
Deuteranopia (green-blind)
#071B38
Tritanopia (blue-blind)
#002428
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #031e39;
/* rgb */ color: rgb(3, 30, 57);
/* oklch */ color: oklch(23.2% 0.062 251.2);
Tailwind
colors: {
  custom: {
    50: '#4d596f',
    500: '#031e39',
    950: '#000000',
  },
}
SCSS
$custom: #031e39;
$custom-light: #4d596f;
$custom-dark: #000000;
JSON
{
  "hex": "#031e39",
  "rgb": {
    "r": 3,
    "g": 30,
    "b": 57
  },
  "hsl": {
    "h": 210,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.23184,
    "c": 0.06168,
    "h": 251.2
  },
  "luminance": 0.01243
}

Semantic roles & 50–950 ramp

primary
#031E39
secondary
#7C4C1C
accent
#9429FF
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #031E39

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

Preview Lab → · Contrast checker → · Palette generator →

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