#1E1981#1E1981

#1E1981 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.164 H 273.4°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#1E1981
RGBrgb(30, 25, 129)
HSLhsl(243, 68%, 30%)
HSVhsv(243, 81%, 51%)
CMYKcmyk(76.7%, 80.6%, 0%, 49.4%)
CIE-LABlab(18.17, 38.10, -56.65)
CIE-LCHlch(18.17, 68.27, 303.92°)
OKLaboklab(31.11% 0.0097 -0.1639)
OKLCHoklch(31.11% 0.164 273.4)
XYZxyz(4.8442, 2.5558, 21.0026)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1981 #7C8119
analogous
#194881 #1E1981 #521981
triadic
#1E1981 #811E19 #19811E
tetradic
#1E1981 #811948 #7C8119 #198152
square
#1E1981 #811948 #7C8119 #198152
split-complementary
#1E1981 #815219 #488119
monochromatic
#06051A #120F4E #1E1981 #2A23B4 #433BD9

Accessibility & contrast

On white

13.90
#1E1981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1E1981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1981
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1981#FFFFFF#000000##FFFFFF
##1E19811.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003184
Deuteranopia (green-blind)
#00277F
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e1981;
/* rgb */ color: rgb(30, 25, 129);
/* oklch */ color: oklch(31.1% 0.164 273.4);
Tailwind
colors: {
  custom: {
    50: '#6c58a7',
    500: '#1e1981',
    950: '#000000',
  },
}
SCSS
$custom: #1e1981;
$custom-light: #6c58a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1981",
  "rgb": {
    "r": 30,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 242.885,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31113,
    "c": 0.16418,
    "h": 273.4
  },
  "luminance": 0.02556
}

Semantic roles & 50–950 ramp

primary
#1E1981
secondary
#AFB541
accent
#EA3DE2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1E1981

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

Preview Lab → · Contrast checker → · Palette generator →

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