#1E52A1#1E52A1

#1E52A1 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.0% C 0.140 H 259.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#1E52A1
RGBrgb(30, 82, 161)
HSLhsl(216, 69%, 37%)
HSVhsv(216, 81%, 63%)
CMYKcmyk(81.4%, 49.1%, 0%, 36.9%)
CIE-LABlab(35.76, 12.82, -47.64)
CIE-LCHlch(35.76, 49.33, 285.06°)
OKLaboklab(45.02% -0.0267 -0.137)
OKLCHoklch(45.02% 0.14 259)
XYZxyz(9.9834, 8.8826, 34.8997)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E52A1 #A16D1E
analogous
#1E94A1 #1E52A1 #2B1EA1
triadic
#1E52A1 #A11E52 #52A11E
tetradic
#1E52A1 #A11E94 #A16D1E #1EA12B
square
#1E52A1 #A11E94 #A16D1E #1EA12B
split-complementary
#1E52A1 #A12B1E #94A11E
monochromatic
#0B1D3A #14386D #1E52A1 #286CD5 #598FE0

Accessibility & contrast

On white

7.56
#1E52A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#1E52A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E52A1
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E52A1#FFFFFF#000000##FFFFFF
##1E52A11.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245AA4
Deuteranopia (green-blind)
#004F9F
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1e52a1;
/* rgb */ color: rgb(30, 82, 161);
/* oklch */ color: oklch(45.0% 0.140 259.0);
Tailwind
colors: {
  custom: {
    50: '#7082bd',
    500: '#1e52a1',
    950: '#000000',
  },
}
SCSS
$custom: #1e52a1;
$custom-light: #7082bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1e52a1",
  "rgb": {
    "r": 30,
    "g": 82,
    "b": 161
  },
  "hsl": {
    "h": 216.183,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4502,
    "c": 0.13956,
    "h": 259
  },
  "luminance": 0.08884
}

Semantic roles & 50–950 ramp

primary
#1E52A1
secondary
#C49957
accent
#A63CEB
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1E52A1

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

Preview Lab → · Contrast checker → · Palette generator →

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