#1E4FAD#1E4FAD

#1E4FAD is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.3% C 0.160 H 261.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#1E4FAD
RGBrgb(30, 79, 173)
HSLhsl(219, 70%, 40%)
HSVhsv(219, 83%, 68%)
CMYKcmyk(82.7%, 54.3%, 0%, 32.2%)
CIE-LABlab(35.76, 19.61, -54.79)
CIE-LCHlch(35.76, 58.20, 289.69°)
OKLaboklab(45.3% -0.023 -0.1581)
OKLCHoklch(45.3% 0.16 261.7)
XYZxyz(10.8715, 8.8838, 40.6688)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4FAD #AD7C1E
analogous
#1E96AD #1E4FAD #351EAD
triadic
#1E4FAD #AD1E4F #4FAD1E
tetradic
#1E4FAD #AD1E96 #AD7C1E #1EAD35
square
#1E4FAD #AD1E96 #AD7C1E #1EAD35
split-complementary
#1E4FAD #AD351E #96AD1E
monochromatic
#0C1F45 #153779 #1E4FAD #2E69DB #628EE4

Accessibility & contrast

On white

7.56
#1E4FAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#1E4FAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4FAD
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4FAD#FFFFFF#000000##FFFFFF
##1E4FAD1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB0
Deuteranopia (green-blind)
#004EAB
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1e4fad;
/* rgb */ color: rgb(30, 79, 173);
/* oklch */ color: oklch(45.3% 0.160 261.7);
Tailwind
colors: {
  custom: {
    50: '#737fc6',
    500: '#1e4fad',
    950: '#000000',
  },
}
SCSS
$custom: #1e4fad;
$custom-light: #737fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4fad",
  "rgb": {
    "r": 30,
    "g": 79,
    "b": 173
  },
  "hsl": {
    "h": 219.441,
    "s": 70.443,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45295,
    "c": 0.15975,
    "h": 261.7
  },
  "luminance": 0.08885
}

Semantic roles & 50–950 ramp

primary
#1E4FAD
secondary
#C8A45E
accent
#B03BED
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #1E4FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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