#1E1561#1E1561

#1E1561 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.9% C 0.127 H 278.9°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#1E1561
RGBrgb(30, 21, 97)
HSLhsl(247, 64%, 23%)
HSVhsv(247, 78%, 38%)
CMYKcmyk(69.1%, 78.4%, 0%, 62%)
CIE-LABlab(13.68, 29.38, -43.29)
CIE-LCHlch(13.68, 52.32, 304.17°)
OKLaboklab(26.86% 0.0197 -0.125)
OKLCHoklch(26.86% 0.127 278.9)
XYZxyz(2.9606, 1.6752, 11.4743)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1561 #586115
analogous
#153261 #1E1561 #441561
triadic
#1E1561 #611E15 #15611E
tetradic
#1E1561 #611532 #586115 #156144
square
#1E1561 #611532 #586115 #156144
split-complementary
#1E1561 #614415 #326115
monochromatic
#080519 #0E0A2F #1E1561 #2E2093 #3D2BC6

Accessibility & contrast

On white

15.73
#1E1561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#1E1561 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1561
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1561#FFFFFF#000000##FFFFFF
##1E15611.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002663
Deuteranopia (green-blind)
#002060
Tritanopia (blue-blind)
#002A39
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1e1561;
/* rgb */ color: rgb(30, 21, 97);
/* oklch */ color: oklch(26.9% 0.127 278.9);
Tailwind
colors: {
  custom: {
    50: '#64548f',
    500: '#1e1561',
    950: '#000000',
  },
}
SCSS
$custom: #1e1561;
$custom-light: #64548f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1561",
  "rgb": {
    "r": 30,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 247.105,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26864,
    "c": 0.12652,
    "h": 278.9
  },
  "luminance": 0.01675
}

Semantic roles & 50–950 ramp

primary
#1E1561
secondary
#8D983A
accent
#E740D4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1E1561

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

Preview Lab → · Contrast checker → · Palette generator →

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