#1E54AD#1E54AD

#1E54AD is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.4% C 0.154 H 260.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#1E54AD
RGBrgb(30, 84, 173)
HSLhsl(217, 70%, 40%)
HSVhsv(217, 83%, 68%)
CMYKcmyk(82.7%, 51.4%, 0%, 32.2%)
CIE-LABlab(37.17, 16.26, -52.50)
CIE-LCHlch(37.17, 54.96, 287.21°)
OKLaboklab(46.37% -0.0265 -0.1512)
OKLCHoklch(46.37% 0.154 260.1)
XYZxyz(11.2458, 9.6324, 40.7936)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E54AD #AD771E
analogous
#1E9BAD #1E54AD #301EAD
triadic
#1E54AD #AD1E54 #54AD1E
tetradic
#1E54AD #AD1E9B #AD771E #1EAD30
square
#1E54AD #AD1E9B #AD771E #1EAD30
split-complementary
#1E54AD #AD301E #9BAD1E
monochromatic
#0C2145 #153B79 #1E54AD #2E6FDB #6293E4

Accessibility & contrast

On white

7.18
#1E54AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#1E54AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E54AD
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E54AD#FFFFFF#000000##FFFFFF
##1E54AD1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195EB0
Deuteranopia (green-blind)
#0051AB
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1e54ad;
/* rgb */ color: rgb(30, 84, 173);
/* oklch */ color: oklch(46.4% 0.154 260.1);
Tailwind
colors: {
  custom: {
    50: '#7383c6',
    500: '#1e54ad',
    950: '#000000',
  },
}
SCSS
$custom: #1e54ad;
$custom-light: #7383c6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e54ad",
  "rgb": {
    "r": 30,
    "g": 84,
    "b": 173
  },
  "hsl": {
    "h": 217.343,
    "s": 70.443,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46373,
    "c": 0.15356,
    "h": 260.1
  },
  "luminance": 0.09634
}

Semantic roles & 50–950 ramp

primary
#1E54AD
secondary
#C8A05E
accent
#AA3BED
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #1E54AD

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

Preview Lab → · Contrast checker → · Palette generator →

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