#1E54AC#1E54AC

#1E54AC is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.3% C 0.152 H 259.9°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#1E54AC
RGBrgb(30, 84, 172)
HSLhsl(217, 70%, 40%)
HSVhsv(217, 83%, 67%)
CMYKcmyk(82.6%, 51.2%, 0%, 32.5%)
CIE-LABlab(37.10, 15.87, -52.02)
CIE-LCHlch(37.10, 54.39, 286.96°)
OKLaboklab(46.3% -0.0266 -0.1498)
OKLCHoklch(46.3% 0.152 259.9)
XYZxyz(11.1494, 9.5939, 40.2859)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E54AC #AC761E
analogous
#1E9BAC #1E54AC #2F1EAC
triadic
#1E54AC #AC1E54 #54AC1E
tetradic
#1E54AC #AC1E9B #AC761E #1EAC2F
square
#1E54AC #AC1E9B #AC761E #1EAC2F
split-complementary
#1E54AC #AC2F1E #9BAC1E
monochromatic
#0C2144 #153B78 #1E54AC #2D6FDA #6193E3

Accessibility & contrast

On white

7.19
#1E54AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#1E54AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E54AC
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E54AC#FFFFFF#000000##FFFFFF
##1E54AC1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5EAF
Deuteranopia (green-blind)
#0051AA
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1e54ac;
/* rgb */ color: rgb(30, 84, 172);
/* oklch */ color: oklch(46.3% 0.152 259.9);
Tailwind
colors: {
  custom: {
    50: '#7283c5',
    500: '#1e54ac',
    950: '#000000',
  },
}
SCSS
$custom: #1e54ac;
$custom-light: #7283c5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e54ac",
  "rgb": {
    "r": 30,
    "g": 84,
    "b": 172
  },
  "hsl": {
    "h": 217.183,
    "s": 70.297,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46296,
    "c": 0.15219,
    "h": 259.9
  },
  "luminance": 0.09595
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E54AC

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

Preview Lab → · Contrast checker → · Palette generator →

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