#1E1066#1E1066

#1E1066 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.7% C 0.138 H 278.9°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#1E1066
RGBrgb(30, 16, 102)
HSLhsl(250, 73%, 23%)
HSVhsv(250, 84%, 40%)
CMYKcmyk(70.6%, 84.3%, 0%, 60%)
CIE-LABlab(13.26, 33.92, -47.30)
CIE-LCHlch(13.26, 58.21, 305.65°)
OKLaboklab(26.74% 0.0214 -0.1366)
OKLCHoklch(26.74% 0.138 278.9)
XYZxyz(3.1182, 1.6056, 12.7134)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1066 #586610
analogous
#102D66 #1E1066 #491066
triadic
#1E1066 #661E10 #10661E
tetradic
#1E1066 #66102D #586610 #106649
square
#1E1066 #66102D #586610 #106649
split-complementary
#1E1066 #664910 #2D6610
monochromatic
#08041A #0E0831 #1E1066 #2E189B #3D21D0

Accessibility & contrast

On white

15.89
#1E1066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1E1066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1066
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1066#FFFFFF#000000##FFFFFF
##1E10661.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002568
Deuteranopia (green-blind)
#001F65
Tritanopia (blue-blind)
#002A3B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1e1066;
/* rgb */ color: rgb(30, 16, 102);
/* oklch */ color: oklch(26.7% 0.138 278.9);
Tailwind
colors: {
  custom: {
    50: '#665193',
    500: '#1e1066',
    950: '#000000',
  },
}
SCSS
$custom: #1e1066;
$custom-light: #665193;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1066",
  "rgb": {
    "r": 30,
    "g": 16,
    "b": 102
  },
  "hsl": {
    "h": 249.767,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26743,
    "c": 0.13827,
    "h": 278.9
  },
  "luminance": 0.01606
}

Semantic roles & 50–950 ramp

primary
#1E1066
secondary
#8D9E33
accent
#F038D2
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1E1066

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

Preview Lab → · Contrast checker → · Palette generator →

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