#1E4A88#1E4A88

#1E4A88 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.4% C 0.114 H 257.6°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#1E4A88
RGBrgb(30, 74, 136)
HSLhsl(215, 64%, 33%)
HSVhsv(215, 78%, 53%)
CMYKcmyk(77.9%, 45.6%, 0%, 46.7%)
CIE-LABlab(31.69, 8.18, -38.98)
CIE-LCHlch(31.69, 39.83, 281.85°)
OKLaboklab(41.35% -0.0245 -0.1117)
OKLCHoklch(41.35% 0.114 257.6)
XYZxyz(7.4265, 6.9503, 24.2379)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4A88 #885C1E
analogous
#1E7F88 #1E4A88 #271E88
triadic
#1E4A88 #881E4A #4A881E
tetradic
#1E4A88 #881E7F #885C1E #1E8827
square
#1E4A88 #881E7F #885C1E #1E8827
split-complementary
#1E4A88 #88271E #7F881E
monochromatic
#081324 #132F56 #1E4A88 #2965BA #4984D7

Accessibility & contrast

On white

8.79
#1E4A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#1E4A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4A88
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4A88#FFFFFF#000000##FFFFFF
##1E4A881.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A508A
Deuteranopia (green-blind)
#154687
Tritanopia (blue-blind)
#005962
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1e4a88;
/* rgb */ color: rgb(30, 74, 136);
/* oklch */ color: oklch(41.4% 0.114 257.6);
Tailwind
colors: {
  custom: {
    50: '#6a7cab',
    500: '#1e4a88',
    950: '#000000',
  },
}
SCSS
$custom: #1e4a88;
$custom-light: #6a7cab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4a88",
  "rgb": {
    "r": 30,
    "g": 74,
    "b": 136
  },
  "hsl": {
    "h": 215.094,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41351,
    "c": 0.11432,
    "h": 257.6
  },
  "luminance": 0.06951
}

Semantic roles & 50–950 ramp

primary
#1E4A88
secondary
#B98A49
accent
#A241E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1E4A88

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

Preview Lab → · Contrast checker → · Palette generator →

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