#1E319D#1E319D

#1E319D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.175 H 268.2°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#1E319D
RGBrgb(30, 49, 157)
HSLhsl(231, 68%, 37%)
HSVhsv(231, 81%, 62%)
CMYKcmyk(80.9%, 68.8%, 0%, 38.4%)
CIE-LABlab(26.47, 33.47, -60.35)
CIE-LCHlch(26.47, 69.01, 299.01°)
OKLaboklab(37.95% -0.0054 -0.1748)
OKLCHoklch(37.95% 0.175 268.2)
XYZxyz(7.7174, 4.9061, 32.4320)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E319D #9D8A1E
analogous
#1E719D #1E319D #4B1E9D
triadic
#1E319D #9D1E31 #319D1E
tetradic
#1E319D #9D1E71 #9D8A1E #1E9D4B
square
#1E319D #9D1E71 #9D8A1E #1E9D4B
split-complementary
#1E319D #9D4B1E #719D1E
monochromatic
#0A1136 #14216A #1E319D #2841D0 #576BDF

Accessibility & contrast

On white

10.60
#1E319D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1E319D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E319D
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E319D#FFFFFF#000000##FFFFFF
##1E319D1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#00399B
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1e319d;
/* rgb */ color: rgb(30, 49, 157);
/* oklch */ color: oklch(37.9% 0.175 268.2);
Tailwind
colors: {
  custom: {
    50: '#7169bb',
    500: '#1e319d',
    950: '#000000',
  },
}
SCSS
$custom: #1e319d;
$custom-light: #7169bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1e319d",
  "rgb": {
    "r": 30,
    "g": 49,
    "b": 157
  },
  "hsl": {
    "h": 231.024,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37947,
    "c": 0.17487,
    "h": 268.2
  },
  "luminance": 0.04907
}

Semantic roles & 50–950 ramp

primary
#1E319D
secondary
#C2B254
accent
#D13DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1E319D

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

Preview Lab → · Contrast checker → · Palette generator →

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