#1E50A1#1E50A1

#1E50A1 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.6% C 0.142 H 259.8°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#1E50A1
RGBrgb(30, 80, 161)
HSLhsl(217, 69%, 37%)
HSVhsv(217, 81%, 63%)
CMYKcmyk(81.4%, 50.3%, 0%, 36.9%)
CIE-LABlab(35.17, 14.16, -48.58)
CIE-LCHlch(35.17, 50.60, 286.25°)
OKLaboklab(44.57% -0.0252 -0.1398)
OKLCHoklch(44.57% 0.142 259.8)
XYZxyz(9.8348, 8.5854, 34.8501)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E50A1 #A16F1E
analogous
#1E92A1 #1E50A1 #2D1EA1
triadic
#1E50A1 #A11E50 #50A11E
tetradic
#1E50A1 #A11E92 #A16F1E #1EA12D
square
#1E50A1 #A11E92 #A16F1E #1EA12D
split-complementary
#1E50A1 #A12D1E #92A11E
monochromatic
#0B1D3A #14366D #1E50A1 #286AD5 #598DE0

Accessibility & contrast

On white

7.73
#1E50A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#1E50A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E50A1
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E50A1#FFFFFF#000000##FFFFFF
##1E50A11.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F59A4
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1e50a1;
/* rgb */ color: rgb(30, 80, 161);
/* oklch */ color: oklch(44.6% 0.142 259.8);
Tailwind
colors: {
  custom: {
    50: '#7080bd',
    500: '#1e50a1',
    950: '#000000',
  },
}
SCSS
$custom: #1e50a1;
$custom-light: #7080bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1e50a1",
  "rgb": {
    "r": 30,
    "g": 80,
    "b": 161
  },
  "hsl": {
    "h": 217.099,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44572,
    "c": 0.14204,
    "h": 259.8
  },
  "luminance": 0.08587
}

Semantic roles & 50–950 ramp

primary
#1E50A1
secondary
#C49A57
accent
#A93CEB
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1E50A1

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

Preview Lab → · Contrast checker → · Palette generator →

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