#031E40#031E40

#031E40 is a very dark, moderate cyan. Relative luminance 0.013; OKLCH L 23.8% C 0.073 H 255.6°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#031E40
RGBrgb(3, 30, 64)
HSLhsl(213, 91%, 13%)
HSVhsv(213, 95%, 25%)
CMYKcmyk(95.3%, 53.1%, 0%, 74.9%)
CIE-LABlab(11.40, 5.24, -24.52)
CIE-LCHlch(11.40, 25.07, 282.07°)
OKLaboklab(23.77% -0.0181 -0.0705)
OKLCHoklch(23.77% 0.073 255.6)
XYZxyz(1.4269, 1.3179, 5.0287)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031E40 #402503
analogous
#033C40 #031E40 #070340
triadic
#031E40 #40031E #1E4003
tetradic
#031E40 #40033C #402503 #034007
square
#031E40 #40033C #402503 #034007
split-complementary
#031E40 #400703 #3C4003
monochromatic
#010E1D #010E1D #031E40 #06397A #0855B5

Accessibility & contrast

On white

16.62
#031E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#031E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031E40
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031E40#FFFFFF#000000##FFFFFF
##031E401.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2141
Deuteranopia (green-blind)
#001C3F
Tritanopia (blue-blind)
#00262B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #031e40;
/* rgb */ color: rgb(3, 30, 64);
/* oklch */ color: oklch(23.8% 0.073 255.6);
Tailwind
colors: {
  custom: {
    50: '#505975',
    500: '#031e40',
    950: '#000000',
  },
}
SCSS
$custom: #031e40;
$custom-light: #505975;
$custom-dark: #000000;
JSON
{
  "hex": "#031e40",
  "rgb": {
    "r": 3,
    "g": 30,
    "b": 64
  },
  "hsl": {
    "h": 213.443,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23765,
    "c": 0.07277,
    "h": 255.6
  },
  "luminance": 0.01318
}

Semantic roles & 50–950 ramp

primary
#031E40
secondary
#82551D
accent
#A029FF
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #031E40

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

Preview Lab → · Contrast checker → · Palette generator →

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