#1E1574#1E1574

#1E1574 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.151 H 275.6°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#1E1574
RGBrgb(30, 21, 116)
HSLhsl(246, 69%, 27%)
HSVhsv(246, 82%, 45%)
CMYKcmyk(74.1%, 81.9%, 0%, 54.5%)
CIE-LABlab(15.87, 35.91, -52.14)
CIE-LCHlch(15.87, 63.31, 304.56°)
OKLaboklab(29.05% 0.0148 -0.1507)
OKLCHoklch(29.05% 0.151 275.6)
XYZxyz(3.9549, 2.0729, 16.7113)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1574 #6B7415
analogous
#153C74 #1E1574 #4E1574
triadic
#1E1574 #741E15 #15741E
tetradic
#1E1574 #74153C #6B7415 #15744E
square
#1E1574 #74153C #6B7415 #15744E
split-complementary
#1E1574 #744E15 #3C7415
monochromatic
#07051A #110C40 #1E1574 #2B1EA8 #3B2BD9

Accessibility & contrast

On white

14.85
#1E1574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1574
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1574#FFFFFF#000000##FFFFFF
##1E15741.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C77
Deuteranopia (green-blind)
#002372
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1e1574;
/* rgb */ color: rgb(30, 21, 116);
/* oklch */ color: oklch(29.0% 0.151 275.6);
Tailwind
colors: {
  custom: {
    50: '#69559d',
    500: '#1e1574',
    950: '#000000',
  },
}
SCSS
$custom: #1e1574;
$custom-light: #69559d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1574",
  "rgb": {
    "r": 30,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 245.684,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29049,
    "c": 0.15147,
    "h": 275.6
  },
  "luminance": 0.02073
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E1574

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

Preview Lab → · Contrast checker → · Palette generator →

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