#1E158D#1E158D

#1E158D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.1% C 0.182 H 272.5°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#1E158D
RGBrgb(30, 21, 141)
HSLhsl(245, 74%, 32%)
HSVhsv(245, 85%, 55%)
CMYKcmyk(78.7%, 85.1%, 0%, 44.7%)
CIE-LABlab(18.95, 44.03, -62.90)
CIE-LCHlch(18.95, 76.78, 304.99°)
OKLaboklab(32.08% 0.008 -0.182)
OKLCHoklch(32.08% 0.182 272.5)
XYZxyz(5.6097, 2.7348, 25.4264)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E158D #848D15
analogous
#15488D #1E158D #5A158D
triadic
#1E158D #8D1E15 #158D1E
tetradic
#1E158D #8D1548 #848D15 #158D5A
square
#1E158D #8D1548 #848D15 #158D5A
split-complementary
#1E158D #8D5A15 #488D15
monochromatic
#070522 #130D58 #1E158D #291DC2 #473BE2

Accessibility & contrast

On white

13.57
#1E158D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E158D
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E158D#FFFFFF#000000##FFFFFF
##1E158D1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e158d;
/* rgb */ color: rgb(30, 21, 141);
/* oklch */ color: oklch(32.1% 0.182 272.5);
Tailwind
colors: {
  custom: {
    50: '#7057b0',
    500: '#1e158d',
    950: '#000000',
  },
}
SCSS
$custom: #1e158d;
$custom-light: #7057b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e158d",
  "rgb": {
    "r": 30,
    "g": 21,
    "b": 141
  },
  "hsl": {
    "h": 244.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32082,
    "c": 0.18214,
    "h": 272.5
  },
  "luminance": 0.02735
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E158D

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

Preview Lab → · Contrast checker → · Palette generator →

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