#1E1173#1E1173

#1E1173 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.154 H 276.3°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#1E1173
RGBrgb(30, 17, 115)
HSLhsl(248, 74%, 26%)
HSVhsv(248, 85%, 45%)
CMYKcmyk(73.9%, 85.2%, 0%, 54.9%)
CIE-LABlab(15.03, 37.65, -52.88)
CIE-LCHlch(15.03, 64.91, 305.46°)
OKLaboklab(28.43% 0.0168 -0.1528)
OKLCHoklch(28.43% 0.154 276.3)
XYZxyz(3.8294, 1.9144, 16.3840)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1173 #667311
analogous
#113573 #1E1173 #4F1173
triadic
#1E1173 #731E11 #11731E
tetradic
#1E1173 #731135 #667311 #11734F
square
#1E1173 #731135 #667311 #11734F
split-complementary
#1E1173 #734F11 #357311
monochromatic
#07041B #10093E #1E1173 #2C19A8 #3A21DE

Accessibility & contrast

On white

15.18
#1E1173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1173
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1173#FFFFFF#000000##FFFFFF
##1E11731.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A76
Deuteranopia (green-blind)
#002171
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1e1173;
/* rgb */ color: rgb(30, 17, 115);
/* oklch */ color: oklch(28.4% 0.154 276.3);
Tailwind
colors: {
  custom: {
    50: '#69539c',
    500: '#1e1173',
    950: '#000000',
  },
}
SCSS
$custom: #1e1173;
$custom-light: #69539c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1173",
  "rgb": {
    "r": 30,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 247.959,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28434,
    "c": 0.15374,
    "h": 276.3
  },
  "luminance": 0.01915
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E1173

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

Preview Lab → · Contrast checker → · Palette generator →

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