#1E4B9E#1E4B9E

#1E4B9E is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.144 H 261.3°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#1E4B9E
RGBrgb(30, 75, 158)
HSLhsl(219, 68%, 37%)
HSVhsv(219, 81%, 62%)
CMYKcmyk(81%, 52.5%, 0%, 38%)
CIE-LABlab(33.51, 16.33, -49.46)
CIE-LCHlch(33.51, 52.09, 288.28°)
OKLaboklab(43.23% -0.0218 -0.1425)
OKLCHoklch(43.23% 0.144 261.3)
XYZxyz(9.2208, 7.7757, 33.3560)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4B9E #9E711E
analogous
#1E8B9E #1E4B9E #311E9E
triadic
#1E4B9E #9E1E4B #4B9E1E
tetradic
#1E4B9E #9E1E8B #9E711E #1E9E31
square
#1E4B9E #9E1E8B #9E711E #1E9E31
split-complementary
#1E4B9E #9E311E #8B9E1E
monochromatic
#0A1A37 #14336B #1E4B9E #2863D1 #5787DF

Accessibility & contrast

On white

8.22
#1E4B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1E4B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4B9E
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4B9E#FFFFFF#000000##FFFFFF
##1E4B9E1.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1255A1
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1e4b9e;
/* rgb */ color: rgb(30, 75, 158);
/* oklch */ color: oklch(43.2% 0.144 261.3);
Tailwind
colors: {
  custom: {
    50: '#6f7cbb',
    500: '#1e4b9e',
    950: '#000000',
  },
}
SCSS
$custom: #1e4b9e;
$custom-light: #6f7cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4b9e",
  "rgb": {
    "r": 30,
    "g": 75,
    "b": 158
  },
  "hsl": {
    "h": 218.906,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43233,
    "c": 0.14414,
    "h": 261.3
  },
  "luminance": 0.07777
}

Semantic roles & 50–950 ramp

primary
#1E4B9E
secondary
#C39C55
accent
#AE3DEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1E4B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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