#1E47A1#1E47A1

#1E47A1 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.153 H 263.1°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#1E47A1
RGBrgb(30, 71, 161)
HSLhsl(221, 69%, 37%)
HSVhsv(221, 81%, 63%)
CMYKcmyk(81.4%, 55.9%, 0%, 36.9%)
CIE-LABlab(32.60, 20.25, -52.74)
CIE-LCHlch(32.60, 56.50, 291.00°)
OKLaboklab(42.61% -0.0185 -0.1522)
OKLCHoklch(42.61% 0.153 263.1)
XYZxyz(9.2194, 7.3546, 34.6450)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E47A1 #A1781E
analogous
#1E89A1 #1E47A1 #361EA1
triadic
#1E47A1 #A11E47 #47A11E
tetradic
#1E47A1 #A11E89 #A1781E #1EA136
square
#1E47A1 #A11E89 #A1781E #1EA136
split-complementary
#1E47A1 #A1361E #89A11E
monochromatic
#0B1A3A #14306D #1E47A1 #285ED5 #5983E0

Accessibility & contrast

On white

8.50
#1E47A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#1E47A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E47A1
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E47A1#FFFFFF#000000##FFFFFF
##1E47A11.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#00479F
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1e47a1;
/* rgb */ color: rgb(30, 71, 161);
/* oklch */ color: oklch(42.6% 0.153 263.1);
Tailwind
colors: {
  custom: {
    50: '#7079be',
    500: '#1e47a1',
    950: '#000000',
  },
}
SCSS
$custom: #1e47a1;
$custom-light: #7079be;
$custom-dark: #000000;
JSON
{
  "hex": "#1e47a1",
  "rgb": {
    "r": 30,
    "g": 71,
    "b": 161
  },
  "hsl": {
    "h": 221.221,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42613,
    "c": 0.15335,
    "h": 263.1
  },
  "luminance": 0.07356
}

Semantic roles & 50–950 ramp

primary
#1E47A1
secondary
#C4A257
accent
#B53CEB
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1E47A1

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

Preview Lab → · Contrast checker → · Palette generator →

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