#1E4BA1#1E4BA1

#1E4BA1 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.5% C 0.148 H 261.7°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#1E4BA1
RGBrgb(30, 75, 161)
HSLhsl(219, 69%, 37%)
HSVhsv(219, 81%, 63%)
CMYKcmyk(81.4%, 53.4%, 0%, 36.9%)
CIE-LABlab(33.73, 17.53, -50.91)
CIE-LCHlch(33.73, 53.84, 289.00°)
OKLaboklab(43.47% -0.0214 -0.1467)
OKLCHoklch(43.47% 0.148 261.7)
XYZxyz(9.4822, 7.8802, 34.7326)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4BA1 #A1741E
analogous
#1E8DA1 #1E4BA1 #321EA1
triadic
#1E4BA1 #A11E4B #4BA11E
tetradic
#1E4BA1 #A11E8D #A1741E #1EA132
square
#1E4BA1 #A11E8D #A1741E #1EA132
split-complementary
#1E4BA1 #A1321E #8DA11E
monochromatic
#0B1B3A #14336D #1E4BA1 #2863D5 #5988E0

Accessibility & contrast

On white

8.15
#1E4BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#1E4BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4BA1
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4BA1#FFFFFF#000000##FFFFFF
##1E4BA11.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A56A4
Deuteranopia (green-blind)
#004A9F
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1e4ba1;
/* rgb */ color: rgb(30, 75, 161);
/* oklch */ color: oklch(43.5% 0.148 261.7);
Tailwind
colors: {
  custom: {
    50: '#707cbd',
    500: '#1e4ba1',
    950: '#000000',
  },
}
SCSS
$custom: #1e4ba1;
$custom-light: #707cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4ba1",
  "rgb": {
    "r": 30,
    "g": 75,
    "b": 161
  },
  "hsl": {
    "h": 219.389,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43471,
    "c": 0.1483,
    "h": 261.7
  },
  "luminance": 0.07881
}

Semantic roles & 50–950 ramp

primary
#1E4BA1
secondary
#C49E57
accent
#AF3CEB
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1E4BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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