#1E52A9#1E52A9

#1E52A9 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.6% C 0.151 H 260.2°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#1E52A9
RGBrgb(30, 82, 169)
HSLhsl(218, 70%, 39%)
HSVhsv(218, 82%, 66%)
CMYKcmyk(82.2%, 51.5%, 0%, 33.7%)
CIE-LABlab(36.32, 16.01, -51.51)
CIE-LCHlch(36.32, 53.94, 287.26°)
OKLaboklab(45.63% -0.0256 -0.1484)
OKLCHoklch(45.63% 0.151 260.2)
XYZxyz(10.7115, 9.1739, 38.7346)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E52A9 #A9751E
analogous
#1E98A9 #1E52A9 #301EA9
triadic
#1E52A9 #A91E52 #52A91E
tetradic
#1E52A9 #A91E98 #A9751E #1EA930
square
#1E52A9 #A91E98 #A9751E #1EA930
split-complementary
#1E52A9 #A9301E #98A91E
monochromatic
#0C2041 #153975 #1E52A9 #2B6CD9 #5F90E3

Accessibility & contrast

On white

7.41
#1E52A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#1E52A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E52A9
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E52A9#FFFFFF#000000##FFFFFF
##1E52A91.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195CAC
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#006775
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1e52a9;
/* rgb */ color: rgb(30, 82, 169);
/* oklch */ color: oklch(45.6% 0.151 260.2);
Tailwind
colors: {
  custom: {
    50: '#7281c3',
    500: '#1e52a9',
    950: '#000000',
  },
}
SCSS
$custom: #1e52a9;
$custom-light: #7281c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e52a9",
  "rgb": {
    "r": 30,
    "g": 82,
    "b": 169
  },
  "hsl": {
    "h": 217.554,
    "s": 69.849,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45627,
    "c": 0.15057,
    "h": 260.2
  },
  "luminance": 0.09175
}

Semantic roles & 50–950 ramp

primary
#1E52A9
secondary
#C79F5C
accent
#AA3BED
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #1E52A9

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

Preview Lab → · Contrast checker → · Palette generator →

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