#1E1771#1E1771

#1E1771 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.146 H 275.7°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#1E1771
RGBrgb(30, 23, 113)
HSLhsl(245, 66%, 27%)
HSVhsv(245, 80%, 44%)
CMYKcmyk(73.5%, 79.6%, 0%, 55.7%)
CIE-LABlab(15.91, 33.77, -50.13)
CIE-LCHlch(15.91, 60.45, 303.96°)
OKLaboklab(28.97% 0.0145 -0.1449)
OKLCHoklch(28.97% 0.146 275.7)
XYZxyz(3.8215, 2.0807, 15.8198)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1771 #6A7117
analogous
#173D71 #1E1771 #4B1771
triadic
#1E1771 #711E17 #17711E
tetradic
#1E1771 #71173D #6A7117 #17714B
square
#1E1771 #71173D #6A7117 #17714B
split-complementary
#1E1771 #714B17 #3D7117
monochromatic
#070519 #110D3E #1E1771 #2C21A4 #3B2ED4

Accessibility & contrast

On white

14.83
#1E1771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1E1771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1771
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1771#FFFFFF#000000##FFFFFF
##1E17711.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00246F
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e1771;
/* rgb */ color: rgb(30, 23, 113);
/* oklch */ color: oklch(29.0% 0.146 275.7);
Tailwind
colors: {
  custom: {
    50: '#68569b',
    500: '#1e1771',
    950: '#000000',
  },
}
SCSS
$custom: #1e1771;
$custom-light: #68569b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1771",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 244.667,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28973,
    "c": 0.14566,
    "h": 275.7
  },
  "luminance": 0.02081
}

Semantic roles & 50–950 ramp

primary
#1E1771
secondary
#9EA73D
accent
#E93FDC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1771

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

Preview Lab → · Contrast checker → · Palette generator →

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