#1E1664#1E1664

#1E1664 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.4% C 0.129 H 278.1°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#1E1664
RGBrgb(30, 22, 100)
HSLhsl(246, 64%, 24%)
HSVhsv(246, 78%, 39%)
CMYKcmyk(70%, 78%, 0%, 60.8%)
CIE-LABlab(14.23, 29.83, -44.38)
CIE-LCHlch(14.23, 53.47, 303.90°)
OKLaboklab(27.35% 0.0182 -0.1282)
OKLCHoklch(27.35% 0.129 278.1)
XYZxyz(3.1218, 1.7697, 12.2312)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1664 #5C6416
analogous
#163564 #1E1664 #451664
triadic
#1E1664 #641E16 #16641E
tetradic
#1E1664 #641635 #5C6416 #166445
square
#1E1664 #641635 #5C6416 #166445
split-complementary
#1E1664 #644516 #356416
monochromatic
#080619 #0F0B32 #1E1664 #2D2196 #3C2CC8

Accessibility & contrast

On white

15.51
#1E1664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#1E1664 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1664
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1664#FFFFFF#000000##FFFFFF
##1E16641.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002766
Deuteranopia (green-blind)
#002163
Tritanopia (blue-blind)
#002C3B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1e1664;
/* rgb */ color: rgb(30, 22, 100);
/* oklch */ color: oklch(27.4% 0.129 278.1);
Tailwind
colors: {
  custom: {
    50: '#655491',
    500: '#1e1664',
    950: '#000000',
  },
}
SCSS
$custom: #1e1664;
$custom-light: #655491;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1664",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 100
  },
  "hsl": {
    "h": 246.154,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27352,
    "c": 0.12946,
    "h": 278.1
  },
  "luminance": 0.0177
}

Semantic roles & 50–950 ramp

primary
#1E1664
secondary
#919B3B
accent
#E741D6
background
#F6F4F9
surface
#EBE8F1
border
#C6C4CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1E1664

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

Preview Lab → · Contrast checker → · Palette generator →

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