#1E54A5#1E54A5

#1E54A5 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.8% C 0.143 H 258.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#1E54A5
RGBrgb(30, 84, 165)
HSLhsl(216, 69%, 38%)
HSVhsv(216, 82%, 65%)
CMYKcmyk(81.8%, 49.1%, 0%, 35.3%)
CIE-LABlab(36.62, 13.08, -48.64)
CIE-LCHlch(36.62, 50.37, 285.05°)
OKLaboklab(45.77% -0.0277 -0.1399)
OKLCHoklch(45.77% 0.143 258.8)
XYZxyz(10.4948, 9.3320, 36.8381)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E54A5 #A56F1E
analogous
#1E97A5 #1E54A5 #2B1EA5
triadic
#1E54A5 #A51E54 #54A51E
tetradic
#1E54A5 #A51E97 #A56F1E #1EA52B
square
#1E54A5 #A51E97 #A56F1E #1EA52B
split-complementary
#1E54A5 #A52B1E #97A51E
monochromatic
#0B1F3D #153A71 #1E54A5 #286FD8 #5C91E1

Accessibility & contrast

On white

7.33
#1E54A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E54A5
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E54A5#FFFFFF#000000##FFFFFF
##1E54A51.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255DA8
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1e54a5;
/* rgb */ color: rgb(30, 84, 165);
/* oklch */ color: oklch(45.8% 0.143 258.8);
Tailwind
colors: {
  custom: {
    50: '#7183c0',
    500: '#1e54a5',
    950: '#000000',
  },
}
SCSS
$custom: #1e54a5;
$custom-light: #7183c0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e54a5",
  "rgb": {
    "r": 30,
    "g": 84,
    "b": 165
  },
  "hsl": {
    "h": 216,
    "s": 69.231,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45767,
    "c": 0.14261,
    "h": 258.8
  },
  "luminance": 0.09333
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E54A5

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

Preview Lab → · Contrast checker → · Palette generator →

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