#1E319F#1E319F

#1E319F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.177 H 268.2°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#1E319F
RGBrgb(30, 49, 159)
HSLhsl(231, 68%, 37%)
HSVhsv(231, 81%, 62%)
CMYKcmyk(81.1%, 69.2%, 0%, 37.6%)
CIE-LABlab(26.66, 34.22, -61.24)
CIE-LCHlch(26.66, 70.15, 299.19°)
OKLaboklab(38.15% -0.0055 -0.1774)
OKLCHoklch(38.15% 0.177 268.2)
XYZxyz(7.8896, 4.9749, 33.3386)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E319F #9F8C1E
analogous
#1E729F #1E319F #4C1E9F
triadic
#1E319F #9F1E31 #319F1E
tetradic
#1E319F #9F1E72 #9F8C1E #1E9F4C
square
#1E319F #9F1E72 #9F8C1E #1E9F4C
split-complementary
#1E319F #9F4C1E #729F1E
monochromatic
#0B1138 #14216C #1E319F #2841D2 #586CDF

Accessibility & contrast

On white

10.53
#1E319F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1E319F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E319F
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E319F#FFFFFF#000000##FFFFFF
##1E319F1.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1e319f;
/* rgb */ color: rgb(30, 49, 159);
/* oklch */ color: oklch(38.2% 0.177 268.2);
Tailwind
colors: {
  custom: {
    50: '#7269bc',
    500: '#1e319f',
    950: '#000000',
  },
}
SCSS
$custom: #1e319f;
$custom-light: #7269bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1e319f",
  "rgb": {
    "r": 30,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 231.163,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38151,
    "c": 0.17748,
    "h": 268.2
  },
  "luminance": 0.04976
}

Semantic roles & 50–950 ramp

primary
#1E319F
secondary
#C3B356
accent
#D13DEB
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1E319F

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

Preview Lab → · Contrast checker → · Palette generator →

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