#1E1663#1E1663

#1E1663 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.2% C 0.128 H 278.3°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#1E1663
RGBrgb(30, 22, 99)
HSLhsl(246, 64%, 24%)
HSVhsv(246, 78%, 39%)
CMYKcmyk(69.7%, 77.8%, 0%, 61.2%)
CIE-LABlab(14.12, 29.48, -43.90)
CIE-LCHlch(14.12, 52.88, 303.88°)
OKLaboklab(27.24% 0.0185 -0.1268)
OKLCHoklch(27.24% 0.128 278.3)
XYZxyz(3.0737, 1.7504, 11.9778)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1663 #5B6316
analogous
#163463 #1E1663 #441663
triadic
#1E1663 #631E16 #16631E
tetradic
#1E1663 #631634 #5B6316 #166344
square
#1E1663 #631634 #5B6316 #166344
split-complementary
#1E1663 #634416 #346316
monochromatic
#080619 #0F0B31 #1E1663 #2D2195 #3C2CC7

Accessibility & contrast

On white

15.55
#1E1663 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1663
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1663#FFFFFF#000000##FFFFFF
##1E16631.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e1663;
/* rgb */ color: rgb(30, 22, 99);
/* oklch */ color: oklch(27.2% 0.128 278.3);
Tailwind
colors: {
  custom: {
    50: '#655490',
    500: '#1e1663',
    950: '#000000',
  },
}
SCSS
$custom: #1e1663;
$custom-light: #655490;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1663",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 99
  },
  "hsl": {
    "h": 246.234,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27241,
    "c": 0.1281,
    "h": 278.3
  },
  "luminance": 0.01751
}

Semantic roles & 50–950 ramp

primary
#1E1663
secondary
#909A3B
accent
#E741D5
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #1E1663

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

Preview Lab → · Contrast checker → · Palette generator →

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