#1E54A9#1E54A9

#1E54A9 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.1% C 0.148 H 259.5°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#1E54A9
RGBrgb(30, 84, 169)
HSLhsl(217, 70%, 39%)
HSVhsv(217, 82%, 66%)
CMYKcmyk(82.2%, 50.3%, 0%, 33.7%)
CIE-LABlab(36.89, 14.67, -50.58)
CIE-LCHlch(36.89, 52.67, 286.18°)
OKLaboklab(46.07% -0.0271 -0.1456)
OKLCHoklch(46.07% 0.148 259.5)
XYZxyz(10.8646, 9.4799, 38.7856)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E54A9 #A9731E
analogous
#1E9AA9 #1E54A9 #2E1EA9
triadic
#1E54A9 #A91E54 #54A91E
tetradic
#1E54A9 #A91E9A #A9731E #1EA92E
square
#1E54A9 #A91E9A #A9731E #1EA92E
split-complementary
#1E54A9 #A92E1E #9AA91E
monochromatic
#0C2041 #153A75 #1E54A9 #2B6FD9 #5F92E3

Accessibility & contrast

On white

7.25
#1E54A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#1E54A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E54A9
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E54A9#FFFFFF#000000##FFFFFF
##1E54A91.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5DAC
Deuteranopia (green-blind)
#0051A7
Tritanopia (blue-blind)
#006976
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1e54a9;
/* rgb */ color: rgb(30, 84, 169);
/* oklch */ color: oklch(46.1% 0.148 259.5);
Tailwind
colors: {
  custom: {
    50: '#7283c3',
    500: '#1e54a9',
    950: '#000000',
  },
}
SCSS
$custom: #1e54a9;
$custom-light: #7283c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e54a9",
  "rgb": {
    "r": 30,
    "g": 84,
    "b": 169
  },
  "hsl": {
    "h": 216.691,
    "s": 69.849,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46068,
    "c": 0.14809,
    "h": 259.5
  },
  "luminance": 0.09481
}

Semantic roles & 50–950 ramp

primary
#1E54A9
secondary
#C79D5C
accent
#A83BED
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1E54A9

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

Preview Lab → · Contrast checker → · Palette generator →

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