#1E4B8E#1E4B8E

#1E4B8E is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.0% C 0.122 H 258.5°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#1E4B8E
RGBrgb(30, 75, 142)
HSLhsl(216, 65%, 34%)
HSVhsv(216, 79%, 56%)
CMYKcmyk(78.9%, 47.2%, 0%, 44.3%)
CIE-LABlab(32.39, 9.92, -41.54)
CIE-LCHlch(32.39, 42.71, 283.42°)
OKLaboklab(42.02% -0.0242 -0.1192)
OKLCHoklch(42.02% 0.122 258.5)
XYZxyz(7.9322, 7.2602, 26.5693)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4B8E #8E611E
analogous
#1E838E #1E4B8E #291E8E
triadic
#1E4B8E #8E1E4B #4B8E1E
tetradic
#1E4B8E #8E1E83 #8E611E #1E8E29
square
#1E4B8E #8E1E83 #8E611E #1E8E29
split-complementary
#1E4B8E #8E291E #838E1E
monochromatic
#091629 #13305B #1E4B8E #2966C1 #4D85D9

Accessibility & contrast

On white

8.56
#1E4B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1E4B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4B8E
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4B8E#FFFFFF#000000##FFFFFF
##1E4B8E1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275291
Deuteranopia (green-blind)
#0C478D
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1e4b8e;
/* rgb */ color: rgb(30, 75, 142);
/* oklch */ color: oklch(42.0% 0.122 258.5);
Tailwind
colors: {
  custom: {
    50: '#6b7caf',
    500: '#1e4b8e',
    950: '#000000',
  },
}
SCSS
$custom: #1e4b8e;
$custom-light: #6b7caf;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4b8e",
  "rgb": {
    "r": 30,
    "g": 75,
    "b": 142
  },
  "hsl": {
    "h": 215.893,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42017,
    "c": 0.12162,
    "h": 258.5
  },
  "luminance": 0.07261
}

Semantic roles & 50–950 ramp

primary
#1E4B8E
secondary
#BC8F4C
accent
#A440E8
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1E4B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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