#1E1966#1E1966

#1E1966 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.129 H 277.0°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#1E1966
RGBrgb(30, 25, 102)
HSLhsl(244, 61%, 25%)
HSVhsv(244, 75%, 40%)
CMYKcmyk(70.6%, 75.5%, 0%, 60%)
CIE-LABlab(15.12, 28.67, -44.24)
CIE-LCHlch(15.12, 52.72, 302.94°)
OKLaboklab(28.05% 0.0157 -0.1278)
OKLCHoklch(28.05% 0.129 277)
XYZxyz(3.2805, 1.9303, 12.7675)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1966 #616619
analogous
#193B66 #1E1966 #441966
triadic
#1E1966 #661E19 #19661E
tetradic
#1E1966 #66193B #616619 #196644
square
#1E1966 #66193B #616619 #196644
split-complementary
#1E1966 #664419 #3B6619
monochromatic
#070619 #100D35 #1E1966 #2C2597 #3B31C8

Accessibility & contrast

On white

15.15
#1E1966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1E1966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1966
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1966#FFFFFF#000000##FFFFFF
##1E19661.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002968
Deuteranopia (green-blind)
#002365
Tritanopia (blue-blind)
#002E3D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1e1966;
/* rgb */ color: rgb(30, 25, 102);
/* oklch */ color: oklch(28.0% 0.129 277.0);
Tailwind
colors: {
  custom: {
    50: '#655792',
    500: '#1e1966',
    950: '#000000',
  },
}
SCSS
$custom: #1e1966;
$custom-light: #655792;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1966",
  "rgb": {
    "r": 30,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 243.896,
    "s": 60.63,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28049,
    "c": 0.12873,
    "h": 277
  },
  "luminance": 0.01931
}

Semantic roles & 50–950 ramp

primary
#1E1966
secondary
#969C3F
accent
#E444D9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1E1966

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

Preview Lab → · Contrast checker → · Palette generator →

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