#1E4E81#1E4E81

#1E4E81 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.8% C 0.100 H 252.5°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#1E4E81
RGBrgb(30, 78, 129)
HSLhsl(211, 62%, 31%)
HSVhsv(211, 77%, 51%)
CMYKcmyk(76.7%, 39.5%, 0%, 49.4%)
CIE-LABlab(32.50, 2.71, -33.37)
CIE-LCHlch(32.50, 33.48, 274.64°)
OKLaboklab(41.84% -0.0299 -0.0951)
OKLCHoklch(41.84% 0.1 252.5)
XYZxyz(7.2208, 7.3090, 21.7948)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4E81 #81511E
analogous
#1E7F81 #1E4E81 #1F1E81
triadic
#1E4E81 #811E4E #4E811E
tetradic
#1E4E81 #811E7F #81511E #1E811F
square
#1E4E81 #811E7F #81511E #1E811F
split-complementary
#1E4E81 #811F1E #7F811E
monochromatic
#07121E #12304F #1E4E81 #2A6CB3 #468BD4

Accessibility & contrast

On white

8.53
#1E4E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1E4E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4E81
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4E81#FFFFFF#000000##FFFFFF
##1E4E811.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365183
Deuteranopia (green-blind)
#274880
Tritanopia (blue-blind)
#005A61
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1e4e81;
/* rgb */ color: rgb(30, 78, 129);
/* oklch */ color: oklch(41.8% 0.100 252.5);
Tailwind
colors: {
  custom: {
    50: '#687fa6',
    500: '#1e4e81',
    950: '#000000',
  },
}
SCSS
$custom: #1e4e81;
$custom-light: #687fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4e81",
  "rgb": {
    "r": 30,
    "g": 78,
    "b": 129
  },
  "hsl": {
    "h": 210.909,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41837,
    "c": 0.09972,
    "h": 252.5
  },
  "luminance": 0.0731
}

Semantic roles & 50–950 ramp

primary
#1E4E81
secondary
#B47F47
accent
#9642E5
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1E4E81

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

Preview Lab → · Contrast checker → · Palette generator →

#1E4E81 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva