#1E1072#1E1072

#1E1072 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.153 H 276.6°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#1E1072
RGBrgb(30, 16, 114)
HSLhsl(249, 75%, 25%)
HSVhsv(249, 86%, 45%)
CMYKcmyk(73.7%, 86%, 0%, 55.3%)
CIE-LABlab(14.74, 37.82, -52.71)
CIE-LCHlch(14.74, 64.87, 305.66°)
OKLaboklab(28.2% 0.0176 -0.1523)
OKLCHoklch(28.2% 0.153 276.6)
XYZxyz(3.7570, 1.8612, 16.0776)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1072 #647210
analogous
#103372 #1E1072 #4F1072
triadic
#1E1072 #721E10 #10721E
tetradic
#1E1072 #721033 #647210 #10724F
square
#1E1072 #721033 #647210 #10724F
split-complementary
#1E1072 #724F10 #337210
monochromatic
#07041B #10083C #1E1072 #2C18A8 #3A1FDD

Accessibility & contrast

On white

15.30
#1E1072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1E1072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1072
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1072#FFFFFF#000000##FFFFFF
##1E10721.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002975
Deuteranopia (green-blind)
#002170
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1e1072;
/* rgb */ color: rgb(30, 16, 114);
/* oklch */ color: oklch(28.2% 0.153 276.6);
Tailwind
colors: {
  custom: {
    50: '#69529c',
    500: '#1e1072',
    950: '#000000',
  },
}
SCSS
$custom: #1e1072;
$custom-light: #69529c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1072",
  "rgb": {
    "r": 30,
    "g": 16,
    "b": 114
  },
  "hsl": {
    "h": 248.571,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28197,
    "c": 0.15333,
    "h": 276.6
  },
  "luminance": 0.01862
}

Semantic roles & 50–950 ramp

primary
#1E1072
secondary
#99A934
accent
#F236D7
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1E1072

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

Preview Lab → · Contrast checker → · Palette generator →

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