#1E4B8F#1E4B8F

#1E4B8F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.1% C 0.123 H 258.7°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#1E4B8F
RGBrgb(30, 75, 143)
HSLhsl(216, 65%, 34%)
HSVhsv(216, 79%, 56%)
CMYKcmyk(79%, 47.6%, 0%, 43.9%)
CIE-LABlab(32.46, 10.32, -42.05)
CIE-LCHlch(32.46, 43.30, 283.79°)
OKLaboklab(42.09% -0.024 -0.1207)
OKLCHoklch(42.09% 0.123 258.7)
XYZxyz(8.0076, 7.2904, 26.9664)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4B8F #8F621E
analogous
#1E848F #1E4B8F #2A1E8F
triadic
#1E4B8F #8F1E4B #4B8F1E
tetradic
#1E4B8F #8F1E84 #8F621E #1E8F2A
square
#1E4B8F #8F1E84 #8F621E #1E8F2A
split-complementary
#1E4B8F #8F2A1E #848F1E
monochromatic
#09162A #13305C #1E4B8F #2966C2 #4E85DA

Accessibility & contrast

On white

8.54
#1E4B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1E4B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4B8F
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4B8F#FFFFFF#000000##FFFFFF
##1E4B8F1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265292
Deuteranopia (green-blind)
#09488E
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1e4b8f;
/* rgb */ color: rgb(30, 75, 143);
/* oklch */ color: oklch(42.1% 0.123 258.7);
Tailwind
colors: {
  custom: {
    50: '#6c7cb0',
    500: '#1e4b8f',
    950: '#000000',
  },
}
SCSS
$custom: #1e4b8f;
$custom-light: #6c7cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4b8f",
  "rgb": {
    "r": 30,
    "g": 75,
    "b": 143
  },
  "hsl": {
    "h": 216.106,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42091,
    "c": 0.12305,
    "h": 258.7
  },
  "luminance": 0.07291
}

Semantic roles & 50–950 ramp

primary
#1E4B8F
secondary
#BC904C
accent
#A540E8
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #1E4B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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