#1E52A5#1E52A5

#1E52A5 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.3% C 0.145 H 259.6°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#1E52A5
RGBrgb(30, 82, 165)
HSLhsl(217, 69%, 38%)
HSVhsv(217, 82%, 65%)
CMYKcmyk(81.8%, 50.3%, 0%, 35.3%)
CIE-LABlab(36.03, 14.42, -49.58)
CIE-LCHlch(36.03, 51.64, 286.21°)
OKLaboklab(45.32% -0.0261 -0.1427)
OKLCHoklch(45.32% 0.145 259.6)
XYZxyz(10.3418, 9.0260, 36.7871)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E52A5 #A5711E
analogous
#1E95A5 #1E52A5 #2D1EA5
triadic
#1E52A5 #A51E52 #52A51E
tetradic
#1E52A5 #A51E95 #A5711E #1EA52D
square
#1E52A5 #A51E95 #A5711E #1EA52D
split-complementary
#1E52A5 #A52D1E #95A51E
monochromatic
#0B1F3D #153871 #1E52A5 #286CD8 #5C8FE1

Accessibility & contrast

On white

7.49
#1E52A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E52A5
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E52A5#FFFFFF#000000##FFFFFF
##1E52A51.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5BA8
Deuteranopia (green-blind)
#004FA3
Tritanopia (blue-blind)
#006673
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1e52a5;
/* rgb */ color: rgb(30, 82, 165);
/* oklch */ color: oklch(45.3% 0.145 259.6);
Tailwind
colors: {
  custom: {
    50: '#7182c0',
    500: '#1e52a5',
    950: '#000000',
  },
}
SCSS
$custom: #1e52a5;
$custom-light: #7182c0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e52a5",
  "rgb": {
    "r": 30,
    "g": 82,
    "b": 165
  },
  "hsl": {
    "h": 216.889,
    "s": 69.231,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45321,
    "c": 0.14507,
    "h": 259.6
  },
  "luminance": 0.09027
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E52A5

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

Preview Lab → · Contrast checker → · Palette generator →

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