#1E1172#1E1172

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

Color values

HEX#1E1172
RGBrgb(30, 17, 114)
HSLhsl(248, 74%, 26%)
HSVhsv(248, 85%, 45%)
CMYKcmyk(73.7%, 85.1%, 0%, 55.3%)
CIE-LABlab(14.91, 37.33, -52.43)
CIE-LCHlch(14.91, 64.36, 305.45°)
OKLaboklab(28.31% 0.0171 -0.1515)
OKLCHoklch(28.31% 0.153 276.4)
XYZxyz(3.7721, 1.8915, 16.0826)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1172 #657211
analogous
#113472 #1E1172 #4E1172
triadic
#1E1172 #721E11 #11721E
tetradic
#1E1172 #721134 #657211 #11724E
square
#1E1172 #721134 #657211 #11724E
split-complementary
#1E1172 #724E11 #347211
monochromatic
#07041B #10093D #1E1172 #2C19A7 #3A21DD

Accessibility & contrast

On white

15.24
#1E1172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1E1172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1172
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1172#FFFFFF#000000##FFFFFF
##1E11721.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e1172;
/* rgb */ color: rgb(30, 17, 114);
/* oklch */ color: oklch(28.3% 0.153 276.4);
Tailwind
colors: {
  custom: {
    50: '#69539c',
    500: '#1e1172',
    950: '#000000',
  },
}
SCSS
$custom: #1e1172;
$custom-light: #69539c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1172",
  "rgb": {
    "r": 30,
    "g": 17,
    "b": 114
  },
  "hsl": {
    "h": 248.041,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28312,
    "c": 0.15251,
    "h": 276.4
  },
  "luminance": 0.01892
}

Semantic roles & 50–950 ramp

primary
#1E1172
secondary
#9AA936
accent
#F137D8
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1E1172

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

Preview Lab → · Contrast checker → · Palette generator →

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