#1E158F#1E158F

#1E158F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.185 H 272.3°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#1E158F
RGBrgb(30, 21, 143)
HSLhsl(244, 74%, 32%)
HSVhsv(244, 85%, 56%)
CMYKcmyk(79%, 85.3%, 0%, 43.9%)
CIE-LABlab(19.20, 44.66, -63.73)
CIE-LCHlch(19.20, 77.82, 305.02°)
OKLaboklab(32.33% 0.0074 -0.1844)
OKLCHoklch(32.33% 0.185 272.3)
XYZxyz(5.7598, 2.7949, 26.2172)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E158F #868F15
analogous
#15498F #1E158F #5B158F
triadic
#1E158F #8F1E15 #158F1E
tetradic
#1E158F #8F1549 #868F15 #158F5B
square
#1E158F #8F1549 #868F15 #158F5B
split-complementary
#1E158F #8F5B15 #498F15
monochromatic
#080524 #130D5A #1E158F #291DC4 #483CE2

Accessibility & contrast

On white

13.47
#1E158F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1E158F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E158F
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E158F#FFFFFF#000000##FFFFFF
##1E158F1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#00298D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e158f;
/* rgb */ color: rgb(30, 21, 143);
/* oklch */ color: oklch(32.3% 0.185 272.3);
Tailwind
colors: {
  custom: {
    50: '#7057b1',
    500: '#1e158f',
    950: '#000000',
  },
}
SCSS
$custom: #1e158f;
$custom-light: #7057b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e158f",
  "rgb": {
    "r": 30,
    "g": 21,
    "b": 143
  },
  "hsl": {
    "h": 244.426,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3233,
    "c": 0.18451,
    "h": 272.3
  },
  "luminance": 0.02796
}

Semantic roles & 50–950 ramp

primary
#1E158F
secondary
#B8C23E
accent
#F137E3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1E158F

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

Preview Lab → · Contrast checker → · Palette generator →

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