#1E4A87#1E4A87

#1E4A87 is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 41.3% C 0.113 H 257.4°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#1E4A87
RGBrgb(30, 74, 135)
HSLhsl(215, 64%, 32%)
HSVhsv(215, 78%, 53%)
CMYKcmyk(77.8%, 45.2%, 0%, 47.1%)
CIE-LABlab(31.63, 7.78, -38.47)
CIE-LCHlch(31.63, 39.25, 281.43°)
OKLaboklab(41.28% -0.0247 -0.1102)
OKLCHoklch(41.28% 0.113 257.4)
XYZxyz(7.3558, 6.9220, 23.8654)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4A87 #875B1E
analogous
#1E7F87 #1E4A87 #271E87
triadic
#1E4A87 #871E4A #4A871E
tetradic
#1E4A87 #871E7F #875B1E #1E8727
square
#1E4A87 #871E7F #875B1E #1E8727
split-complementary
#1E4A87 #87271E #7F871E
monochromatic
#081323 #132F55 #1E4A87 #2965B9 #4984D7

Accessibility & contrast

On white

8.81
#1E4A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#1E4A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4A87
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4A87#FFFFFF#000000##FFFFFF
##1E4A871.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5089
Deuteranopia (green-blind)
#174686
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1e4a87;
/* rgb */ color: rgb(30, 74, 135);
/* oklch */ color: oklch(41.3% 0.113 257.4);
Tailwind
colors: {
  custom: {
    50: '#6a7caa',
    500: '#1e4a87',
    950: '#000000',
  },
}
SCSS
$custom: #1e4a87;
$custom-light: #6a7caa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4a87",
  "rgb": {
    "r": 30,
    "g": 74,
    "b": 135
  },
  "hsl": {
    "h": 214.857,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4128,
    "c": 0.11289,
    "h": 257.4
  },
  "luminance": 0.06923
}

Semantic roles & 50–950 ramp

primary
#1E4A87
secondary
#B98A48
accent
#A141E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1E4A87

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

Preview Lab → · Contrast checker → · Palette generator →

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