#1E48A1#1E48A1

#1E48A1 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.152 H 262.7°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#1E48A1
RGBrgb(30, 72, 161)
HSLhsl(221, 69%, 37%)
HSVhsv(221, 81%, 63%)
CMYKcmyk(81.4%, 55.3%, 0%, 36.9%)
CIE-LABlab(32.88, 19.57, -52.29)
CIE-LCHlch(32.88, 55.83, 290.52°)
OKLaboklab(42.83% -0.0192 -0.1509)
OKLCHoklch(42.83% 0.152 262.7)
XYZxyz(9.2835, 7.4829, 34.6664)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E48A1 #A1771E
analogous
#1E8AA1 #1E48A1 #351EA1
triadic
#1E48A1 #A11E48 #48A11E
tetradic
#1E48A1 #A11E8A #A1771E #1EA135
square
#1E48A1 #A11E8A #A1771E #1EA135
split-complementary
#1E48A1 #A1351E #8AA11E
monochromatic
#0B1A3A #14316D #1E48A1 #285FD5 #5985E0

Accessibility & contrast

On white

8.41
#1E48A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#1E48A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E48A1
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E48A1#FFFFFF#000000##FFFFFF
##1E48A11.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#00489F
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1e48a1;
/* rgb */ color: rgb(30, 72, 161);
/* oklch */ color: oklch(42.8% 0.152 262.7);
Tailwind
colors: {
  custom: {
    50: '#707abd',
    500: '#1e48a1',
    950: '#000000',
  },
}
SCSS
$custom: #1e48a1;
$custom-light: #707abd;
$custom-dark: #000000;
JSON
{
  "hex": "#1e48a1",
  "rgb": {
    "r": 30,
    "g": 72,
    "b": 161
  },
  "hsl": {
    "h": 220.763,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42826,
    "c": 0.15208,
    "h": 262.7
  },
  "luminance": 0.07484
}

Semantic roles & 50–950 ramp

primary
#1E48A1
secondary
#C4A157
accent
#B33CEB
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1E48A1

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

Preview Lab → · Contrast checker → · Palette generator →

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