#1E51C2#1E51C2

#1E51C2 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.5% C 0.185 H 263.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#1E51C2
RGBrgb(30, 81, 194)
HSLhsl(221, 73%, 44%)
HSVhsv(221, 85%, 76%)
CMYKcmyk(84.5%, 58.2%, 0%, 23.9%)
CIE-LABlab(37.94, 26.51, -63.60)
CIE-LCHlch(37.94, 68.91, 292.63°)
OKLaboklab(47.45% -0.0226 -0.1839)
OKLCHoklch(47.45% 0.185 263)
XYZxyz(13.2120, 10.0543, 52.2728)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E51C2 #C28F1E
analogous
#1EA3C2 #1E51C2 #3D1EC2
triadic
#1E51C2 #C21E51 #51C21E
tetradic
#1E51C2 #C21EA3 #C28F1E #1EC23D
square
#1E51C2 #C21EA3 #C28F1E #1EC23D
split-complementary
#1E51C2 #C23D1E #A3C21E
monochromatic
#0E2558 #163B8D #1E51C2 #3C6FE1 #7197E9

Accessibility & contrast

On white

6.97
#1E51C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#1E51C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E51C2
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E51C2#FFFFFF#000000##FFFFFF
##1E51C21.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#0052C0
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1e51c2;
/* rgb */ color: rgb(30, 81, 194);
/* oklch */ color: oklch(47.5% 0.185 263.0);
Tailwind
colors: {
  custom: {
    50: '#7881d5',
    500: '#1e51c2',
    950: '#000000',
  },
}
SCSS
$custom: #1e51c2;
$custom-light: #7881d5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e51c2",
  "rgb": {
    "r": 30,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 221.341,
    "s": 73.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47454,
    "c": 0.18533,
    "h": 263
  },
  "luminance": 0.10056
}

Semantic roles & 50–950 ramp

primary
#1E51C2
secondary
#D0B16C
accent
#B738F0
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #1E51C2

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

Preview Lab → · Contrast checker → · Palette generator →

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