#1E1266#1E1266

#1E1266 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.0% C 0.136 H 278.5°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#1E1266
RGBrgb(30, 18, 102)
HSLhsl(249, 70%, 24%)
HSVhsv(249, 82%, 40%)
CMYKcmyk(70.6%, 82.4%, 0%, 60%)
CIE-LABlab(13.64, 32.85, -46.68)
CIE-LCHlch(13.64, 57.08, 305.13°)
OKLaboklab(27% 0.0203 -0.1348)
OKLCHoklch(27% 0.136 278.5)
XYZxyz(3.1492, 1.6677, 12.7237)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1266 #5A6612
analogous
#123066 #1E1266 #481266
triadic
#1E1266 #661E12 #12661E
tetradic
#1E1266 #661230 #5A6612 #126648
square
#1E1266 #661230 #5A6612 #126648
split-complementary
#1E1266 #664812 #306612
monochromatic
#08051A #0F0932 #1E1266 #2D1B9A #3D24CE

Accessibility & contrast

On white

15.75
#1E1266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#1E1266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1266
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1266#FFFFFF#000000##FFFFFF
##1E12661.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002668
Deuteranopia (green-blind)
#001F65
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1e1266;
/* rgb */ color: rgb(30, 18, 102);
/* oklch */ color: oklch(27.0% 0.136 278.5);
Tailwind
colors: {
  custom: {
    50: '#665293',
    500: '#1e1266',
    950: '#000000',
  },
}
SCSS
$custom: #1e1266;
$custom-light: #665293;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1266",
  "rgb": {
    "r": 30,
    "g": 18,
    "b": 102
  },
  "hsl": {
    "h": 248.571,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27003,
    "c": 0.13635,
    "h": 278.5
  },
  "luminance": 0.01668
}

Semantic roles & 50–950 ramp

primary
#1E1266
secondary
#8F9E36
accent
#ED3BD3
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1E1266

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

Preview Lab → · Contrast checker → · Palette generator →

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