#1E52A6#1E52A6

#1E52A6 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.4% C 0.146 H 259.8°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#1E52A6
RGBrgb(30, 82, 166)
HSLhsl(217, 69%, 38%)
HSVhsv(217, 82%, 65%)
CMYKcmyk(81.9%, 50.6%, 0%, 34.9%)
CIE-LABlab(36.10, 14.81, -50.07)
CIE-LCHlch(36.10, 52.21, 286.48°)
OKLaboklab(45.4% -0.026 -0.1441)
OKLCHoklch(45.4% 0.146 259.8)
XYZxyz(10.4331, 9.0625, 37.2684)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E52A6 #A6721E
analogous
#1E96A6 #1E52A6 #2E1EA6
triadic
#1E52A6 #A61E52 #52A61E
tetradic
#1E52A6 #A61E96 #A6721E #1EA62E
square
#1E52A6 #A61E96 #A6721E #1EA62E
split-complementary
#1E52A6 #A62E1E #96A61E
monochromatic
#0B1F3E #153872 #1E52A6 #296CD8 #5D90E2

Accessibility & contrast

On white

7.47
#1E52A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#1E52A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E52A6
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E52A6#FFFFFF#000000##FFFFFF
##1E52A61.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5BA9
Deuteranopia (green-blind)
#004FA4
Tritanopia (blue-blind)
#006674
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1e52a6;
/* rgb */ color: rgb(30, 82, 166);
/* oklch */ color: oklch(45.4% 0.146 259.8);
Tailwind
colors: {
  custom: {
    50: '#7181c1',
    500: '#1e52a6',
    950: '#000000',
  },
}
SCSS
$custom: #1e52a6;
$custom-light: #7181c1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e52a6",
  "rgb": {
    "r": 30,
    "g": 82,
    "b": 166
  },
  "hsl": {
    "h": 217.059,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45397,
    "c": 0.14645,
    "h": 259.8
  },
  "luminance": 0.09064
}

Semantic roles & 50–950 ramp

primary
#1E52A6
secondary
#C69D5A
accent
#A93CEC
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1E52A6

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

Preview Lab → · Contrast checker → · Palette generator →

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