#1E54A8#1E54A8

#1E54A8 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.0% C 0.147 H 259.3°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#1E54A8
RGBrgb(30, 84, 168)
HSLhsl(217, 70%, 39%)
HSVhsv(217, 82%, 66%)
CMYKcmyk(82.1%, 50%, 0%, 34.1%)
CIE-LABlab(36.82, 14.28, -50.10)
CIE-LCHlch(36.82, 52.09, 285.90°)
OKLaboklab(45.99% -0.0272 -0.1442)
OKLCHoklch(45.99% 0.147 259.3)
XYZxyz(10.7710, 9.4425, 38.2931)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E54A8 #A8721E
analogous
#1E99A8 #1E54A8 #2D1EA8
triadic
#1E54A8 #A81E54 #54A81E
tetradic
#1E54A8 #A81E99 #A8721E #1EA82D
square
#1E54A8 #A81E99 #A8721E #1EA82D
split-complementary
#1E54A8 #A82D1E #99A81E
monochromatic
#0B2040 #153A74 #1E54A8 #2A6FD9 #5E92E2

Accessibility & contrast

On white

7.27
#1E54A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#1E54A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E54A8
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E54A8#FFFFFF#000000##FFFFFF
##1E54A81.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215DAB
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#006876
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1e54a8;
/* rgb */ color: rgb(30, 84, 168);
/* oklch */ color: oklch(46.0% 0.147 259.3);
Tailwind
colors: {
  custom: {
    50: '#7183c2',
    500: '#1e54a8',
    950: '#000000',
  },
}
SCSS
$custom: #1e54a8;
$custom-light: #7183c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e54a8",
  "rgb": {
    "r": 30,
    "g": 84,
    "b": 168
  },
  "hsl": {
    "h": 216.522,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45992,
    "c": 0.14673,
    "h": 259.3
  },
  "luminance": 0.09444
}

Semantic roles & 50–950 ramp

primary
#1E54A8
secondary
#C79D5B
accent
#A73BED
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1E54A8

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

Preview Lab → · Contrast checker → · Palette generator →

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