#1E54A6#1E54A6

#1E54A6 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.8% C 0.144 H 259.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#1E54A6
RGBrgb(30, 84, 166)
HSLhsl(216, 69%, 38%)
HSVhsv(216, 82%, 65%)
CMYKcmyk(81.9%, 49.4%, 0%, 34.9%)
CIE-LABlab(36.68, 13.48, -49.13)
CIE-LCHlch(36.68, 50.95, 285.34°)
OKLaboklab(45.84% -0.0275 -0.1413)
OKLCHoklch(45.84% 0.144 259)
XYZxyz(10.5862, 9.3686, 37.3194)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E54A6 #A6701E
analogous
#1E98A6 #1E54A6 #2C1EA6
triadic
#1E54A6 #A61E54 #54A61E
tetradic
#1E54A6 #A61E98 #A6701E #1EA62C
square
#1E54A6 #A61E98 #A6701E #1EA62C
split-complementary
#1E54A6 #A62C1E #98A61E
monochromatic
#0B203E #153A72 #1E54A6 #296FD8 #5D92E2

Accessibility & contrast

On white

7.31
#1E54A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#1E54A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E54A6
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E54A6#FFFFFF#000000##FFFFFF
##1E54A61.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235DA9
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#006875
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1e54a6;
/* rgb */ color: rgb(30, 84, 166);
/* oklch */ color: oklch(45.8% 0.144 259.0);
Tailwind
colors: {
  custom: {
    50: '#7183c1',
    500: '#1e54a6',
    950: '#000000',
  },
}
SCSS
$custom: #1e54a6;
$custom-light: #7183c1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e54a6",
  "rgb": {
    "r": 30,
    "g": 84,
    "b": 166
  },
  "hsl": {
    "h": 216.176,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45842,
    "c": 0.14398,
    "h": 259
  },
  "luminance": 0.0937
}

Semantic roles & 50–950 ramp

primary
#1E54A6
secondary
#C69B5A
accent
#A63CEC
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1E54A6

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

Preview Lab → · Contrast checker → · Palette generator →

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