#1E4A8D#1E4A8D

#1E4A8D is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.7% C 0.121 H 258.8°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#1E4A8D
RGBrgb(30, 74, 141)
HSLhsl(216, 65%, 34%)
HSVhsv(216, 79%, 55%)
CMYKcmyk(78.7%, 47.5%, 0%, 44.7%)
CIE-LABlab(32.02, 10.19, -41.52)
CIE-LCHlch(32.02, 42.76, 283.79°)
OKLaboklab(41.71% -0.0235 -0.1191)
OKLCHoklch(41.71% 0.121 258.8)
XYZxyz(7.7902, 7.0958, 26.1532)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4A8D #8D611E
analogous
#1E818D #1E4A8D #291E8D
triadic
#1E4A8D #8D1E4A #4A8D1E
tetradic
#1E4A8D #8D1E81 #8D611E #1E8D29
square
#1E4A8D #8D1E81 #8D611E #1E8D29
split-complementary
#1E4A8D #8D291E #818D1E
monochromatic
#091528 #13305B #1E4A8D #2964BF #4C84D9

Accessibility & contrast

On white

8.68
#1E4A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#1E4A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4A8D
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4A8D#FFFFFF#000000##FFFFFF
##1E4A8D1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265190
Deuteranopia (green-blind)
#0A478C
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1e4a8d;
/* rgb */ color: rgb(30, 74, 141);
/* oklch */ color: oklch(41.7% 0.121 258.8);
Tailwind
colors: {
  custom: {
    50: '#6b7caf',
    500: '#1e4a8d',
    950: '#000000',
  },
}
SCSS
$custom: #1e4a8d;
$custom-light: #6b7caf;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4a8d",
  "rgb": {
    "r": 30,
    "g": 74,
    "b": 141
  },
  "hsl": {
    "h": 216.216,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41712,
    "c": 0.12145,
    "h": 258.8
  },
  "luminance": 0.07097
}

Semantic roles & 50–950 ramp

primary
#1E4A8D
secondary
#BC8F4B
accent
#A540E8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1E4A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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