#1E4A8F#1E4A8F

#1E4A8F is a dark, vivid blue. Relative luminance 0.072; OKLCH L 41.9% C 0.124 H 259.3°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#1E4A8F
RGBrgb(30, 74, 143)
HSLhsl(217, 65%, 34%)
HSVhsv(217, 79%, 56%)
CMYKcmyk(79%, 48.3%, 0%, 43.9%)
CIE-LABlab(32.16, 10.99, -42.53)
CIE-LCHlch(32.16, 43.93, 284.49°)
OKLaboklab(41.86% -0.0232 -0.1221)
OKLCHoklch(41.86% 0.124 259.3)
XYZxyz(7.9403, 7.1558, 26.9440)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4A8F #8F631E
analogous
#1E838F #1E4A8F #2B1E8F
triadic
#1E4A8F #8F1E4A #4A8F1E
tetradic
#1E4A8F #8F1E83 #8F631E #1E8F2B
square
#1E4A8F #8F1E83 #8F631E #1E8F2B
split-complementary
#1E4A8F #8F2B1E #838F1E
monochromatic
#09162A #13305C #1E4A8F #2964C2 #4E84DA

Accessibility & contrast

On white

8.64
#1E4A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1E4A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4A8F
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4A8F#FFFFFF#000000##FFFFFF
##1E4A8F1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245192
Deuteranopia (green-blind)
#04478E
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1e4a8f;
/* rgb */ color: rgb(30, 74, 143);
/* oklch */ color: oklch(41.9% 0.124 259.3);
Tailwind
colors: {
  custom: {
    50: '#6c7bb0',
    500: '#1e4a8f',
    950: '#000000',
  },
}
SCSS
$custom: #1e4a8f;
$custom-light: #6c7bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4a8f",
  "rgb": {
    "r": 30,
    "g": 74,
    "b": 143
  },
  "hsl": {
    "h": 216.637,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4186,
    "c": 0.1243,
    "h": 259.3
  },
  "luminance": 0.07157
}

Semantic roles & 50–950 ramp

primary
#1E4A8F
secondary
#BC914C
accent
#A740E8
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #1E4A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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