#1E52A4#1E52A4

#1E52A4 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.2% C 0.144 H 259.5°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#1E52A4
RGBrgb(30, 82, 164)
HSLhsl(217, 69%, 38%)
HSVhsv(217, 82%, 64%)
CMYKcmyk(81.7%, 50%, 0%, 35.7%)
CIE-LABlab(35.96, 14.02, -49.10)
CIE-LCHlch(35.96, 51.06, 285.93°)
OKLaboklab(45.25% -0.0263 -0.1413)
OKLCHoklch(45.25% 0.144 259.5)
XYZxyz(10.2511, 8.9897, 36.3097)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E52A4 #A4701E
analogous
#1E95A4 #1E52A4 #2D1EA4
triadic
#1E52A4 #A41E52 #52A41E
tetradic
#1E52A4 #A41E95 #A4701E #1EA42D
square
#1E52A4 #A41E95 #A4701E #1EA42D
split-complementary
#1E52A4 #A42D1E #95A41E
monochromatic
#0B1E3D #153870 #1E52A4 #286CD8 #5B8FE1

Accessibility & contrast

On white

7.50
#1E52A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#1E52A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E52A4
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E52A4#FFFFFF#000000##FFFFFF
##1E52A41.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205BA7
Deuteranopia (green-blind)
#004FA2
Tritanopia (blue-blind)
#006673
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1e52a4;
/* rgb */ color: rgb(30, 82, 164);
/* oklch */ color: oklch(45.2% 0.144 259.5);
Tailwind
colors: {
  custom: {
    50: '#7182bf',
    500: '#1e52a4',
    950: '#000000',
  },
}
SCSS
$custom: #1e52a4;
$custom-light: #7182bf;
$custom-dark: #000000;
JSON
{
  "hex": "#1e52a4",
  "rgb": {
    "r": 30,
    "g": 82,
    "b": 164
  },
  "hsl": {
    "h": 216.716,
    "s": 69.072,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45245,
    "c": 0.1437,
    "h": 259.5
  },
  "luminance": 0.08991
}

Semantic roles & 50–950 ramp

primary
#1E52A4
secondary
#C59B59
accent
#A83CEC
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1E52A4

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

Preview Lab → · Contrast checker → · Palette generator →

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