#1E4E9D#1E4E9D

#1E4E9D is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.8% C 0.139 H 260.0°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#1E4E9D
RGBrgb(30, 78, 157)
HSLhsl(217, 68%, 37%)
HSVhsv(217, 81%, 62%)
CMYKcmyk(80.9%, 50.3%, 0%, 38.4%)
CIE-LABlab(34.31, 13.91, -47.57)
CIE-LCHlch(34.31, 49.56, 286.30°)
OKLaboklab(43.82% -0.0242 -0.1368)
OKLCHoklch(43.82% 0.139 260)
XYZxyz(9.3434, 8.1580, 32.9740)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4E9D #9D6D1E
analogous
#1E8E9D #1E4E9D #2E1E9D
triadic
#1E4E9D #9D1E4E #4E9D1E
tetradic
#1E4E9D #9D1E8E #9D6D1E #1E9D2E
square
#1E4E9D #9D1E8E #9D6D1E #1E9D2E
split-complementary
#1E4E9D #9D2E1E #8E9D1E
monochromatic
#0A1B36 #14346A #1E4E9D #2868D0 #578ADF

Accessibility & contrast

On white

7.98
#1E4E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#1E4E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4E9D
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4E9D#FFFFFF#000000##FFFFFF
##1E4E9D1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E57A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1e4e9d;
/* rgb */ color: rgb(30, 78, 157);
/* oklch */ color: oklch(43.8% 0.139 260.0);
Tailwind
colors: {
  custom: {
    50: '#6f7eba',
    500: '#1e4e9d',
    950: '#000000',
  },
}
SCSS
$custom: #1e4e9d;
$custom-light: #6f7eba;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4e9d",
  "rgb": {
    "r": 30,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 217.323,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4382,
    "c": 0.13897,
    "h": 260
  },
  "luminance": 0.08159
}

Semantic roles & 50–950 ramp

primary
#1E4E9D
secondary
#C29954
accent
#A93DEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1E4E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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