#1E4B9D#1E4B9D

#1E4B9D is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.2% C 0.143 H 261.2°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#1E4B9D
RGBrgb(30, 75, 157)
HSLhsl(219, 68%, 37%)
HSVhsv(219, 81%, 62%)
CMYKcmyk(80.9%, 52.2%, 0%, 38.4%)
CIE-LABlab(33.44, 15.93, -48.97)
CIE-LCHlch(33.44, 51.50, 288.02°)
OKLaboklab(43.15% -0.0219 -0.1411)
OKLCHoklch(43.15% 0.143 261.2)
XYZxyz(9.1351, 7.7414, 32.9045)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4B9D #9D701E
analogous
#1E8B9D #1E4B9D #311E9D
triadic
#1E4B9D #9D1E4B #4B9D1E
tetradic
#1E4B9D #9D1E8B #9D701E #1E9D31
square
#1E4B9D #9D1E8B #9D701E #1E9D31
split-complementary
#1E4B9D #9D311E #8B9D1E
monochromatic
#0A1A36 #14326A #1E4B9D #2864D0 #5787DF

Accessibility & contrast

On white

8.24
#1E4B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#1E4B9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4B9D
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4B9D#FFFFFF#000000##FFFFFF
##1E4B9D1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1455A0
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1e4b9d;
/* rgb */ color: rgb(30, 75, 157);
/* oklch */ color: oklch(43.2% 0.143 261.2);
Tailwind
colors: {
  custom: {
    50: '#6f7cba',
    500: '#1e4b9d',
    950: '#000000',
  },
}
SCSS
$custom: #1e4b9d;
$custom-light: #6f7cba;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4b9d",
  "rgb": {
    "r": 30,
    "g": 75,
    "b": 157
  },
  "hsl": {
    "h": 218.74,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43154,
    "c": 0.14275,
    "h": 261.2
  },
  "luminance": 0.07742
}

Semantic roles & 50–950 ramp

primary
#1E4B9D
secondary
#C29B54
accent
#AD3DEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1E4B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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