#1E1281#1E1281

#1E1281 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.3% C 0.170 H 274.1°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#1E1281
RGBrgb(30, 18, 129)
HSLhsl(246, 76%, 29%)
HSVhsv(246, 86%, 51%)
CMYKcmyk(76.7%, 86%, 0%, 49.4%)
CIE-LABlab(16.96, 41.64, -58.66)
CIE-LCHlch(16.96, 71.93, 305.37°)
OKLaboklab(30.27% 0.0122 -0.1696)
OKLCHoklch(30.27% 0.17 274.1)
XYZxyz(4.7129, 2.2931, 20.9589)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1281 #758112
analogous
#123E81 #1E1281 #561281
triadic
#1E1281 #811E12 #12811E
tetradic
#1E1281 #81123E #758112 #128156
square
#1E1281 #81123E #758112 #128156
split-complementary
#1E1281 #815612 #3E8112
monochromatic
#06041B #120B4B #1E1281 #2A19B7 #402CE2

Accessibility & contrast

On white

14.40
#1E1281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1E1281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1281
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1281#FFFFFF#000000##FFFFFF
##1E12811.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F84
Deuteranopia (green-blind)
#00257F
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e1281;
/* rgb */ color: rgb(30, 18, 129);
/* oklch */ color: oklch(30.3% 0.170 274.1);
Tailwind
colors: {
  custom: {
    50: '#6d54a7',
    500: '#1e1281',
    950: '#000000',
  },
}
SCSS
$custom: #1e1281;
$custom-light: #6d54a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1281",
  "rgb": {
    "r": 30,
    "g": 18,
    "b": 129
  },
  "hsl": {
    "h": 246.486,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30271,
    "c": 0.17005,
    "h": 274.1
  },
  "luminance": 0.02294
}

Semantic roles & 50–950 ramp

primary
#1E1281
secondary
#A9B738
accent
#F236DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1E1281

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

Preview Lab → · Contrast checker → · Palette generator →

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