#1E1971#1E1971

#1E1971 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.144 H 275.4°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#1E1971
RGBrgb(30, 25, 113)
HSLhsl(243, 64%, 27%)
HSVhsv(243, 78%, 44%)
CMYKcmyk(73.5%, 77.9%, 0%, 55.7%)
CIE-LABlab(16.32, 32.59, -49.45)
CIE-LCHlch(16.32, 59.22, 303.39°)
OKLaboklab(29.27% 0.0134 -0.143)
OKLCHoklch(29.27% 0.144 275.4)
XYZxyz(3.8627, 2.1632, 15.8336)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1971 #6C7119
analogous
#194071 #1E1971 #4A1971
triadic
#1E1971 #711E19 #19711E
tetradic
#1E1971 #711940 #6C7119 #19714A
square
#1E1971 #711940 #6C7119 #19714A
split-complementary
#1E1971 #714A19 #407119
monochromatic
#070619 #110E3F #1E1971 #2B24A3 #3C33D2

Accessibility & contrast

On white

14.66
#1E1971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1E1971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1971
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1971#FFFFFF#000000##FFFFFF
##1E19711.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e1971;
/* rgb */ color: rgb(30, 25, 113);
/* oklch */ color: oklch(29.3% 0.144 275.4);
Tailwind
colors: {
  custom: {
    50: '#68579b',
    500: '#1e1971',
    950: '#000000',
  },
}
SCSS
$custom: #1e1971;
$custom-light: #68579b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1971",
  "rgb": {
    "r": 30,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 243.409,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29267,
    "c": 0.14359,
    "h": 275.4
  },
  "luminance": 0.02164
}

Semantic roles & 50–950 ramp

primary
#1E1971
secondary
#A0A640
accent
#E741DD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1971

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

Preview Lab → · Contrast checker → · Palette generator →

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