#1E54A0#1E54A0

#1E54A0 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.4% C 0.136 H 257.9°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#1E54A0
RGBrgb(30, 84, 160)
HSLhsl(215, 68%, 37%)
HSVhsv(215, 81%, 63%)
CMYKcmyk(81.3%, 47.5%, 0%, 37.3%)
CIE-LABlab(36.28, 11.09, -46.20)
CIE-LCHlch(36.28, 47.51, 283.50°)
OKLaboklab(45.4% -0.0285 -0.1327)
OKLCHoklch(45.4% 0.136 257.9)
XYZxyz(10.0486, 9.1535, 34.4881)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E54A0 #A06A1E
analogous
#1E95A0 #1E54A0 #291EA0
triadic
#1E54A0 #A01E54 #54A01E
tetradic
#1E54A0 #A01E95 #A06A1E #1EA029
square
#1E54A0 #A01E95 #A06A1E #1EA029
split-complementary
#1E54A0 #A0291E #95A01E
monochromatic
#0B1E39 #14396C #1E54A0 #286FD4 #5991E0

Accessibility & contrast

On white

7.42
#1E54A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#1E54A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E54A0
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E54A0#FFFFFF#000000##FFFFFF
##1E54A01.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5CA3
Deuteranopia (green-blind)
#03509E
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1e54a0;
/* rgb */ color: rgb(30, 84, 160);
/* oklch */ color: oklch(45.4% 0.136 257.9);
Tailwind
colors: {
  custom: {
    50: '#7083bd',
    500: '#1e54a0',
    950: '#000000',
  },
}
SCSS
$custom: #1e54a0;
$custom-light: #7083bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1e54a0",
  "rgb": {
    "r": 30,
    "g": 84,
    "b": 160
  },
  "hsl": {
    "h": 215.077,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45399,
    "c": 0.13573,
    "h": 257.9
  },
  "luminance": 0.09155
}

Semantic roles & 50–950 ramp

primary
#1E54A0
secondary
#C49656
accent
#A33DEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1E54A0

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

Preview Lab → · Contrast checker → · Palette generator →

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