#1E1671#1E1671

#1E1671 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.8% C 0.147 H 275.9°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#1E1671
RGBrgb(30, 22, 113)
HSLhsl(245, 67%, 26%)
HSVhsv(245, 81%, 44%)
CMYKcmyk(73.5%, 80.5%, 0%, 55.7%)
CIE-LABlab(15.70, 34.34, -50.46)
CIE-LCHlch(15.70, 61.04, 304.24°)
OKLaboklab(28.83% 0.0151 -0.1459)
OKLCHoklch(28.83% 0.147 275.9)
XYZxyz(3.8020, 2.0417, 15.8133)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1671 #697116
analogous
#163C71 #1E1671 #4C1671
triadic
#1E1671 #711E16 #16711E
tetradic
#1E1671 #71163C #697116 #16714C
square
#1E1671 #71163C #697116 #16714C
split-complementary
#1E1671 #714C16 #3C7116
monochromatic
#07051A #100C3E #1E1671 #2C20A4 #3B2CD6

Accessibility & contrast

On white

14.91
#1E1671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1E1671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1671
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1671#FFFFFF#000000##FFFFFF
##1E16711.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00236F
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1e1671;
/* rgb */ color: rgb(30, 22, 113);
/* oklch */ color: oklch(28.8% 0.147 275.9);
Tailwind
colors: {
  custom: {
    50: '#68559b',
    500: '#1e1671',
    950: '#000000',
  },
}
SCSS
$custom: #1e1671;
$custom-light: #68559b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1671",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 245.275,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28832,
    "c": 0.14666,
    "h": 275.9
  },
  "luminance": 0.02042
}

Semantic roles & 50–950 ramp

primary
#1E1671
secondary
#9EA73C
accent
#EA3EDB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1671

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

Preview Lab → · Contrast checker → · Palette generator →

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