#031E41#031E41

#031E41 is a very dark, moderate cyan. Relative luminance 0.013; OKLCH L 23.9% C 0.074 H 256.1°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#031E41
RGBrgb(3, 30, 65)
HSLhsl(214, 91%, 13%)
HSVhsv(214, 95%, 25%)
CMYKcmyk(95.4%, 53.8%, 0%, 74.5%)
CIE-LABlab(11.48, 5.72, -25.09)
CIE-LCHlch(11.48, 25.73, 282.84°)
OKLaboklab(23.85% -0.0178 -0.0722)
OKLCHoklch(23.85% 0.074 256.1)
XYZxyz(1.4556, 1.3294, 5.1799)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031E41 #412603
analogous
#033D41 #031E41 #070341
triadic
#031E41 #41031E #1E4103
tetradic
#031E41 #41033D #412603 #034107
square
#031E41 #41033D #412603 #034107
split-complementary
#031E41 #410703 #3D4103
monochromatic
#010D1D #010D1D #031E41 #06397B #0854B6

Accessibility & contrast

On white

16.59
#031E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#031E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031E41
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031E41#FFFFFF#000000##FFFFFF
##031E411.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2142
Deuteranopia (green-blind)
#001C40
Tritanopia (blue-blind)
#00262C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #031e41;
/* rgb */ color: rgb(3, 30, 65);
/* oklch */ color: oklch(23.9% 0.074 256.1);
Tailwind
colors: {
  custom: {
    50: '#505976',
    500: '#031e41',
    950: '#000000',
  },
}
SCSS
$custom: #031e41;
$custom-light: #505976;
$custom-dark: #000000;
JSON
{
  "hex": "#031e41",
  "rgb": {
    "r": 3,
    "g": 30,
    "b": 65
  },
  "hsl": {
    "h": 213.871,
    "s": 91.176,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23851,
    "c": 0.07436,
    "h": 256.1
  },
  "luminance": 0.0133
}

Semantic roles & 50–950 ramp

primary
#031E41
secondary
#83561D
accent
#A229FF
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #031E41

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

Preview Lab → · Contrast checker → · Palette generator →

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