#1E319B#1E319B

#1E319B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.172 H 268.3°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#1E319B
RGBrgb(30, 49, 155)
HSLhsl(231, 68%, 36%)
HSVhsv(231, 81%, 61%)
CMYKcmyk(80.6%, 68.4%, 0%, 39.2%)
CIE-LABlab(26.27, 32.72, -59.45)
CIE-LCHlch(26.27, 67.86, 298.83°)
OKLaboklab(37.74% -0.0052 -0.1722)
OKLCHoklch(37.74% 0.172 268.3)
XYZxyz(7.5481, 4.8383, 31.5401)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E319B #9B881E
analogous
#1E709B #1E319B #4A1E9B
triadic
#1E319B #9B1E31 #319B1E
tetradic
#1E319B #9B1E70 #9B881E #1E9B4A
square
#1E319B #9B1E70 #9B881E #1E9B4A
split-complementary
#1E319B #9B4A1E #709B1E
monochromatic
#0A1134 #142168 #1E319B #2841CE #556ADE

Accessibility & contrast

On white

10.67
#1E319B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1E319B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E319B
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E319B#FFFFFF#000000##FFFFFF
##1E319B1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#003899
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1e319b;
/* rgb */ color: rgb(30, 49, 155);
/* oklch */ color: oklch(37.7% 0.172 268.3);
Tailwind
colors: {
  custom: {
    50: '#7169ba',
    500: '#1e319b',
    950: '#000000',
  },
}
SCSS
$custom: #1e319b;
$custom-light: #7169ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1e319b",
  "rgb": {
    "r": 30,
    "g": 49,
    "b": 155
  },
  "hsl": {
    "h": 230.88,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37744,
    "c": 0.17225,
    "h": 268.3
  },
  "luminance": 0.04839
}

Semantic roles & 50–950 ramp

primary
#1E319B
secondary
#C2B153
accent
#D03DEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1E319B

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

Preview Lab → · Contrast checker → · Palette generator →

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