#1E158E#1E158E

#1E158E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.183 H 272.4°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#1E158E
RGBrgb(30, 21, 142)
HSLhsl(244, 74%, 32%)
HSVhsv(244, 85%, 56%)
CMYKcmyk(78.9%, 85.2%, 0%, 44.3%)
CIE-LABlab(19.08, 44.34, -63.32)
CIE-LCHlch(19.08, 77.30, 305.01°)
OKLaboklab(32.21% 0.0077 -0.1832)
OKLCHoklch(32.21% 0.183 272.4)
XYZxyz(5.6844, 2.7647, 25.8200)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E158E #858E15
analogous
#15498E #1E158E #5B158E
triadic
#1E158E #8E1E15 #158E1E
tetradic
#1E158E #8E1549 #858E15 #158E5B
square
#1E158E #8E1549 #858E15 #158E5B
split-complementary
#1E158E #8E5B15 #498E15
monochromatic
#070523 #130D59 #1E158E #291DC3 #483BE2

Accessibility & contrast

On white

13.52
#1E158E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1E158E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E158E
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E158E#FFFFFF#000000##FFFFFF
##1E158E1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003491
Deuteranopia (green-blind)
#00288C
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e158e;
/* rgb */ color: rgb(30, 21, 142);
/* oklch */ color: oklch(32.2% 0.183 272.4);
Tailwind
colors: {
  custom: {
    50: '#7057b0',
    500: '#1e158e',
    950: '#000000',
  },
}
SCSS
$custom: #1e158e;
$custom-light: #7057b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e158e",
  "rgb": {
    "r": 30,
    "g": 21,
    "b": 142
  },
  "hsl": {
    "h": 244.463,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32206,
    "c": 0.18332,
    "h": 272.4
  },
  "luminance": 0.02765
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E158E

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

Preview Lab → · Contrast checker → · Palette generator →

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