#1E4EA6#1E4EA6

#1E4EA6 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.5% C 0.151 H 261.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#1E4EA6
RGBrgb(30, 78, 166)
HSLhsl(219, 69%, 38%)
HSVhsv(219, 82%, 65%)
CMYKcmyk(81.9%, 53%, 0%, 34.9%)
CIE-LABlab(34.96, 17.50, -51.92)
CIE-LCHlch(34.96, 54.79, 288.63°)
OKLaboklab(44.52% -0.023 -0.1497)
OKLCHoklch(44.52% 0.151 261.3)
XYZxyz(10.1403, 8.4767, 37.1707)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4EA6 #A6761E
analogous
#1E92A6 #1E4EA6 #321EA6
triadic
#1E4EA6 #A61E4E #4EA61E
tetradic
#1E4EA6 #A61E92 #A6761E #1EA632
square
#1E4EA6 #A61E92 #A6761E #1EA632
split-complementary
#1E4EA6 #A6321E #92A61E
monochromatic
#0B1D3E #153672 #1E4EA6 #2967D8 #5D8CE2

Accessibility & contrast

On white

7.79
#1E4EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#1E4EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4EA6
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4EA6#FFFFFF#000000##FFFFFF
##1E4EA61.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D59A9
Deuteranopia (green-blind)
#004CA4
Tritanopia (blue-blind)
#006472
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1e4ea6;
/* rgb */ color: rgb(30, 78, 166);
/* oklch */ color: oklch(44.5% 0.151 261.3);
Tailwind
colors: {
  custom: {
    50: '#717ec1',
    500: '#1e4ea6',
    950: '#000000',
  },
}
SCSS
$custom: #1e4ea6;
$custom-light: #717ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4ea6",
  "rgb": {
    "r": 30,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 218.824,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4452,
    "c": 0.15143,
    "h": 261.3
  },
  "luminance": 0.08478
}

Semantic roles & 50–950 ramp

primary
#1E4EA6
secondary
#C6A05A
accent
#AE3CEC
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1E4EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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