#1E4D9A#1E4D9A

#1E4D9A is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.4% C 0.136 H 259.9°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#1E4D9A
RGBrgb(30, 77, 154)
HSLhsl(217, 67%, 36%)
HSVhsv(217, 81%, 60%)
CMYKcmyk(80.5%, 50%, 0%, 39.6%)
CIE-LABlab(33.81, 13.38, -46.57)
CIE-LCHlch(33.81, 48.45, 286.03°)
OKLaboklab(43.37% -0.0239 -0.1339)
OKLCHoklch(43.37% 0.136 259.9)
XYZxyz(9.0199, 7.9158, 31.6181)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4D9A #9A6B1E
analogous
#1E8B9A #1E4D9A #2D1E9A
triadic
#1E4D9A #9A1E4D #4D9A1E
tetradic
#1E4D9A #9A1E8B #9A6B1E #1E9A2D
square
#1E4D9A #9A1E8B #9A6B1E #1E9A2D
split-complementary
#1E4D9A #9A2D1E #8B9A1E
monochromatic
#0A1A34 #143367 #1E4D9A #2867CD #5589DE

Accessibility & contrast

On white

8.13
#1E4D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E4D9A
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4D9A#FFFFFF#000000##FFFFFF
##1E4D9A1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F559D
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1e4d9a;
/* rgb */ color: rgb(30, 77, 154);
/* oklch */ color: oklch(43.4% 0.136 259.9);
Tailwind
colors: {
  custom: {
    50: '#6e7eb8',
    500: '#1e4d9a',
    950: '#000000',
  },
}
SCSS
$custom: #1e4d9a;
$custom-light: #6e7eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4d9a",
  "rgb": {
    "r": 30,
    "g": 77,
    "b": 154
  },
  "hsl": {
    "h": 217.258,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43368,
    "c": 0.13604,
    "h": 259.9
  },
  "luminance": 0.07917
}

Semantic roles & 50–950 ramp

primary
#1E4D9A
secondary
#C19753
accent
#A93EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1E4D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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