#1E317D#1E317D

#1E317D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.9% C 0.131 H 268.1°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#1E317D
RGBrgb(30, 49, 125)
HSLhsl(228, 61%, 30%)
HSVhsv(228, 76%, 49%)
CMYKcmyk(76%, 60.8%, 0%, 51%)
CIE-LABlab(23.51, 21.11, -45.33)
CIE-LCHlch(23.51, 50.01, 294.97°)
OKLaboklab(34.87% -0.0043 -0.1308)
OKLCHoklch(34.87% 0.131 268.1)
XYZxyz(5.3341, 3.9527, 19.8799)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E317D #7D6A1E
analogous
#1E607D #1E317D #3A1E7D
triadic
#1E317D #7D1E31 #317D1E
tetradic
#1E317D #7D1E60 #7D6A1E #1E7D3A
square
#1E317D #7D1E60 #7D6A1E #1E7D3A
split-complementary
#1E317D #7D3A1E #607D1E
monochromatic
#060A1A #121E4C #1E317D #2A44AE #4360D2

Accessibility & contrast

On white

11.73
#1E317D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1E317D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E317D
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E317D#FFFFFF#000000##FFFFFF
##1E317D1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e317d;
/* rgb */ color: rgb(30, 49, 125);
/* oklch */ color: oklch(34.9% 0.131 268.1);
Tailwind
colors: {
  custom: {
    50: '#6968a3',
    500: '#1e317d',
    950: '#000000',
  },
}
SCSS
$custom: #1e317d;
$custom-light: #6968a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e317d",
  "rgb": {
    "r": 30,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 228,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34867,
    "c": 0.13089,
    "h": 268.1
  },
  "luminance": 0.03953
}

Semantic roles & 50–950 ramp

primary
#1E317D
secondary
#B09B46
accent
#C443E4
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E317D

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

Preview Lab → · Contrast checker → · Palette generator →

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