#1E1571#1E1571

#1E1571 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.148 H 276.0°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#1E1571
RGBrgb(30, 21, 113)
HSLhsl(246, 69%, 26%)
HSVhsv(246, 81%, 44%)
CMYKcmyk(73.5%, 81.4%, 0%, 55.7%)
CIE-LABlab(15.51, 34.90, -50.79)
CIE-LCHlch(15.51, 61.62, 304.50°)
OKLaboklab(28.69% 0.0156 -0.1468)
OKLCHoklch(28.69% 0.148 276)
XYZxyz(3.7832, 2.0043, 15.8071)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1571 #687115
analogous
#153A71 #1E1571 #4C1571
triadic
#1E1571 #711E15 #15711E
tetradic
#1E1571 #71153A #687115 #15714C
square
#1E1571 #71153A #687115 #15714C
split-complementary
#1E1571 #714C15 #3A7115
monochromatic
#07051A #100B3D #1E1571 #2C1FA5 #3A29D7

Accessibility & contrast

On white

14.99
#1E1571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1E1571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1571
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1571#FFFFFF#000000##FFFFFF
##1E15711.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00236F
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1e1571;
/* rgb */ color: rgb(30, 21, 113);
/* oklch */ color: oklch(28.7% 0.148 276.0);
Tailwind
colors: {
  custom: {
    50: '#68559b',
    500: '#1e1571',
    950: '#000000',
  },
}
SCSS
$custom: #1e1571;
$custom-light: #68559b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1571",
  "rgb": {
    "r": 30,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 245.87,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28695,
    "c": 0.14764,
    "h": 276
  },
  "luminance": 0.02005
}

Semantic roles & 50–950 ramp

primary
#1E1571
secondary
#9DA73B
accent
#EB3CDA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1571

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

Preview Lab → · Contrast checker → · Palette generator →

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