#1E1576#1E1576

#1E1576 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.154 H 275.3°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#1E1576
RGBrgb(30, 21, 118)
HSLhsl(246, 70%, 27%)
HSVhsv(246, 82%, 46%)
CMYKcmyk(74.6%, 82.2%, 0%, 53.7%)
CIE-LABlab(16.10, 36.58, -53.03)
CIE-LCHlch(16.10, 64.43, 304.59°)
OKLaboklab(29.29% 0.0142 -0.1533)
OKLCHoklch(29.29% 0.154 275.3)
XYZxyz(4.0725, 2.1200, 17.3306)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1576 #6D7615
analogous
#153D76 #1E1576 #4F1576
triadic
#1E1576 #761E15 #15761E
tetradic
#1E1576 #76153D #6D7615 #15764F
square
#1E1576 #76153D #6D7615 #15764F
split-complementary
#1E1576 #764F15 #3D7615
monochromatic
#07051A #110C42 #1E1576 #2B1EAA #3C2CD9

Accessibility & contrast

On white

14.75
#1E1576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1E1576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1576
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1576#FFFFFF#000000##FFFFFF
##1E15761.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C79
Deuteranopia (green-blind)
#002474
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e1576;
/* rgb */ color: rgb(30, 21, 118);
/* oklch */ color: oklch(29.3% 0.154 275.3);
Tailwind
colors: {
  custom: {
    50: '#6a559f',
    500: '#1e1576',
    950: '#000000',
  },
}
SCSS
$custom: #1e1576;
$custom-light: #6a559f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1576",
  "rgb": {
    "r": 30,
    "g": 21,
    "b": 118
  },
  "hsl": {
    "h": 245.567,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29286,
    "c": 0.15401,
    "h": 275.3
  },
  "luminance": 0.0212
}

Semantic roles & 50–950 ramp

primary
#1E1576
secondary
#A1AC3B
accent
#ED3BDC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1E1576

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

Preview Lab → · Contrast checker → · Palette generator →

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