#1E1472#1E1472

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

Color values

HEX#1E1472
RGBrgb(30, 20, 114)
HSLhsl(246, 70%, 26%)
HSVhsv(246, 82%, 45%)
CMYKcmyk(73.7%, 82.5%, 0%, 55.3%)
CIE-LABlab(15.44, 35.78, -51.55)
CIE-LCHlch(15.44, 62.75, 304.76°)
OKLaboklab(28.68% 0.0158 -0.149)
OKLCHoklch(28.68% 0.15 276)
XYZxyz(3.8218, 1.9909, 16.0992)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1472 #687214
analogous
#143972 #1E1472 #4D1472
triadic
#1E1472 #721E14 #14721E
tetradic
#1E1472 #721439 #687214 #14724D
square
#1E1472 #721439 #687214 #14724D
split-complementary
#1E1472 #724D14 #397214
monochromatic
#07051A #100B3E #1E1472 #2C1DA6 #3A27D9

Accessibility & contrast

On white

15.02
#1E1472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1472
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1472#FFFFFF#000000##FFFFFF
##1E14721.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B75
Deuteranopia (green-blind)
#002270
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1e1472;
/* rgb */ color: rgb(30, 20, 114);
/* oklch */ color: oklch(28.7% 0.150 276.0);
Tailwind
colors: {
  custom: {
    50: '#69549c',
    500: '#1e1472',
    950: '#000000',
  },
}
SCSS
$custom: #1e1472;
$custom-light: #69549c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1472",
  "rgb": {
    "r": 30,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 246.383,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28681,
    "c": 0.14986,
    "h": 276
  },
  "luminance": 0.01991
}

Semantic roles & 50–950 ramp

primary
#1E1472
secondary
#9DA839
accent
#ED3BDA
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1472

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

Preview Lab → · Contrast checker → · Palette generator →

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