#1E52AD#1E52AD

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

Color values

HEX#1E52AD
RGBrgb(30, 82, 173)
HSLhsl(218, 70%, 40%)
HSVhsv(218, 83%, 68%)
CMYKcmyk(82.7%, 52.6%, 0%, 32.2%)
CIE-LABlab(36.61, 17.60, -53.42)
CIE-LCHlch(36.61, 56.25, 288.23°)
OKLaboklab(45.94% -0.0251 -0.154)
OKLCHoklch(45.94% 0.156 260.8)
XYZxyz(11.0928, 9.3264, 40.7426)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E52AD #AD791E
analogous
#1E99AD #1E52AD #321EAD
triadic
#1E52AD #AD1E52 #52AD1E
tetradic
#1E52AD #AD1E99 #AD791E #1EAD32
square
#1E52AD #AD1E99 #AD791E #1EAD32
split-complementary
#1E52AD #AD321E #99AD1E
monochromatic
#0C2145 #153979 #1E52AD #2E6CDB #6291E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1E52AD#FFFFFF#000000##FFFFFF
##1E52AD1.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)
#105DB0
Deuteranopia (green-blind)
#0050AB
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1e52ad;
/* rgb */ color: rgb(30, 82, 173);
/* oklch */ color: oklch(45.9% 0.156 260.8);
Tailwind
colors: {
  custom: {
    50: '#7381c6',
    500: '#1e52ad',
    950: '#000000',
  },
}
SCSS
$custom: #1e52ad;
$custom-light: #7381c6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e52ad",
  "rgb": {
    "r": 30,
    "g": 82,
    "b": 173
  },
  "hsl": {
    "h": 218.182,
    "s": 70.443,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45939,
    "c": 0.15603,
    "h": 260.8
  },
  "luminance": 0.09328
}

Semantic roles & 50–950 ramp

primary
#1E52AD
secondary
#C8A25E
accent
#AC3BED
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #1E52AD

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

Preview Lab → · Contrast checker → · Palette generator →

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