#1E52AC#1E52AC

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

Color values

HEX#1E52AC
RGBrgb(30, 82, 172)
HSLhsl(218, 70%, 40%)
HSVhsv(218, 83%, 67%)
CMYKcmyk(82.6%, 52.3%, 0%, 32.5%)
CIE-LABlab(36.53, 17.20, -52.95)
CIE-LCHlch(36.53, 55.67, 288.00°)
OKLaboklab(45.86% -0.0252 -0.1526)
OKLCHoklch(45.86% 0.155 260.6)
XYZxyz(10.9964, 9.2878, 40.2349)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E52AC #AC781E
analogous
#1E99AC #1E52AC #311EAC
triadic
#1E52AC #AC1E52 #52AC1E
tetradic
#1E52AC #AC1E99 #AC781E #1EAC31
square
#1E52AC #AC1E99 #AC781E #1EAC31
split-complementary
#1E52AC #AC311E #99AC1E
monochromatic
#0C2044 #153978 #1E52AC #2D6CDA #6191E3

Accessibility & contrast

On white

7.35
#1E52AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#1E52AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E52AC
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E52AC#FFFFFF#000000##FFFFFF
##1E52AC1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125DAF
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1e52ac;
/* rgb */ color: rgb(30, 82, 172);
/* oklch */ color: oklch(45.9% 0.155 260.6);
Tailwind
colors: {
  custom: {
    50: '#7381c5',
    500: '#1e52ac',
    950: '#000000',
  },
}
SCSS
$custom: #1e52ac;
$custom-light: #7381c5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e52ac",
  "rgb": {
    "r": 30,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 218.028,
    "s": 70.297,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4586,
    "c": 0.15467,
    "h": 260.6
  },
  "luminance": 0.09289
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E52AC

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

Preview Lab → · Contrast checker → · Palette generator →

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