#1E54A1#1E54A1

#1E54A1 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.5% C 0.137 H 258.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#1E54A1
RGBrgb(30, 84, 161)
HSLhsl(215, 69%, 37%)
HSVhsv(215, 81%, 63%)
CMYKcmyk(81.4%, 47.8%, 0%, 36.9%)
CIE-LABlab(36.35, 11.49, -46.69)
CIE-LCHlch(36.35, 48.08, 283.82°)
OKLaboklab(45.47% -0.0283 -0.1341)
OKLCHoklch(45.47% 0.137 258.1)
XYZxyz(10.1364, 9.1887, 34.9507)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E54A1 #A16B1E
analogous
#1E96A1 #1E54A1 #291EA1
triadic
#1E54A1 #A11E54 #54A11E
tetradic
#1E54A1 #A11E96 #A16B1E #1EA129
square
#1E54A1 #A11E96 #A16B1E #1EA129
split-complementary
#1E54A1 #A1291E #96A11E
monochromatic
#0B1E3A #14396D #1E54A1 #286FD5 #5991E0

Accessibility & contrast

On white

7.40
#1E54A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#1E54A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E54A1
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E54A1#FFFFFF#000000##FFFFFF
##1E54A11.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295CA4
Deuteranopia (green-blind)
#00509F
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1e54a1;
/* rgb */ color: rgb(30, 84, 161);
/* oklch */ color: oklch(45.5% 0.137 258.1);
Tailwind
colors: {
  custom: {
    50: '#7083bd',
    500: '#1e54a1',
    950: '#000000',
  },
}
SCSS
$custom: #1e54a1;
$custom-light: #7083bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1e54a1",
  "rgb": {
    "r": 30,
    "g": 84,
    "b": 161
  },
  "hsl": {
    "h": 215.267,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45472,
    "c": 0.13711,
    "h": 258.1
  },
  "luminance": 0.0919
}

Semantic roles & 50–950 ramp

primary
#1E54A1
secondary
#C49757
accent
#A33CEB
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1E54A1

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

Preview Lab → · Contrast checker → · Palette generator →

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