#1E1573#1E1573

#1E1573 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.150 H 275.7°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#1E1573
RGBrgb(30, 21, 115)
HSLhsl(246, 69%, 27%)
HSVhsv(246, 82%, 45%)
CMYKcmyk(73.9%, 81.7%, 0%, 54.9%)
CIE-LABlab(15.75, 35.58, -51.69)
CIE-LCHlch(15.75, 62.75, 304.54°)
OKLaboklab(28.93% 0.015 -0.1494)
OKLCHoklch(28.93% 0.15 275.7)
XYZxyz(3.8971, 2.0498, 16.4066)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1573 #6A7315
analogous
#153B73 #1E1573 #4D1573
triadic
#1E1573 #731E15 #15731E
tetradic
#1E1573 #73153B #6A7315 #15734D
square
#1E1573 #73153B #6A7315 #15734D
split-complementary
#1E1573 #734D15 #3B7315
monochromatic
#07051A #110C3F #1E1573 #2C1EA7 #3B2AD8

Accessibility & contrast

On white

14.89
#1E1573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1E1573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1573
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1573#FFFFFF#000000##FFFFFF
##1E15731.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B76
Deuteranopia (green-blind)
#002371
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1e1573;
/* rgb */ color: rgb(30, 21, 115);
/* oklch */ color: oklch(28.9% 0.150 275.7);
Tailwind
colors: {
  custom: {
    50: '#69559c',
    500: '#1e1573',
    950: '#000000',
  },
}
SCSS
$custom: #1e1573;
$custom-light: #69559c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1573",
  "rgb": {
    "r": 30,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 245.745,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28931,
    "c": 0.1502,
    "h": 275.7
  },
  "luminance": 0.0205
}

Semantic roles & 50–950 ramp

primary
#1E1573
secondary
#9EA93B
accent
#EC3CDB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1573

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

Preview Lab → · Contrast checker → · Palette generator →

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