#1E319E#1E319E

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

Color values

HEX#1E319E
RGBrgb(30, 49, 158)
HSLhsl(231, 68%, 37%)
HSVhsv(231, 81%, 62%)
CMYKcmyk(81%, 69%, 0%, 38%)
CIE-LABlab(26.56, 33.84, -60.80)
CIE-LCHlch(26.56, 69.58, 299.10°)
OKLaboklab(38.05% -0.0055 -0.1761)
OKLCHoklch(38.05% 0.176 268.2)
XYZxyz(7.8032, 4.9404, 32.8834)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E319E #9E8B1E
analogous
#1E719E #1E319E #4B1E9E
triadic
#1E319E #9E1E31 #319E1E
tetradic
#1E319E #9E1E71 #9E8B1E #1E9E4B
square
#1E319E #9E1E71 #9E8B1E #1E9E4B
split-complementary
#1E319E #9E4B1E #719E1E
monochromatic
#0A1137 #14216B #1E319E #2841D1 #576BDF

Accessibility & contrast

On white

10.56
#1E319E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1E319E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E319E
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E319E#FFFFFF#000000##FFFFFF
##1E319E1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e319e;
/* rgb */ color: rgb(30, 49, 158);
/* oklch */ color: oklch(38.0% 0.176 268.2);
Tailwind
colors: {
  custom: {
    50: '#7169bc',
    500: '#1e319e',
    950: '#000000',
  },
}
SCSS
$custom: #1e319e;
$custom-light: #7169bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1e319e",
  "rgb": {
    "r": 30,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 231.094,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38049,
    "c": 0.17617,
    "h": 268.2
  },
  "luminance": 0.04941
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E319E

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

Preview Lab → · Contrast checker → · Palette generator →

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