#1E1665#1E1665

#1E1665 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.5% C 0.131 H 277.9°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#1E1665
RGBrgb(30, 22, 101)
HSLhsl(246, 64%, 24%)
HSVhsv(246, 78%, 40%)
CMYKcmyk(70.3%, 78.2%, 0%, 60.4%)
CIE-LABlab(14.34, 30.18, -44.86)
CIE-LCHlch(14.34, 54.07, 303.93°)
OKLaboklab(27.46% 0.018 -0.1296)
OKLCHoklch(27.46% 0.131 277.9)
XYZxyz(3.1705, 1.7892, 12.4877)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1665 #5D6516
analogous
#163665 #1E1665 #461665
triadic
#1E1665 #651E16 #16651E
tetradic
#1E1665 #651636 #5D6516 #166546
square
#1E1665 #651636 #5D6516 #166546
split-complementary
#1E1665 #654616 #366516
monochromatic
#070519 #0F0B33 #1E1665 #2D2197 #3C2CCA

Accessibility & contrast

On white

15.47
#1E1665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1E1665 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1665
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1665#FFFFFF#000000##FFFFFF
##1E16651.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002767
Deuteranopia (green-blind)
#002164
Tritanopia (blue-blind)
#002C3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1e1665;
/* rgb */ color: rgb(30, 22, 101);
/* oklch */ color: oklch(27.5% 0.131 277.9);
Tailwind
colors: {
  custom: {
    50: '#655592',
    500: '#1e1665',
    950: '#000000',
  },
}
SCSS
$custom: #1e1665;
$custom-light: #655592;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1665",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 101
  },
  "hsl": {
    "h": 246.076,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27463,
    "c": 0.13082,
    "h": 277.9
  },
  "luminance": 0.01789
}

Semantic roles & 50–950 ramp

primary
#1E1665
secondary
#929C3B
accent
#E741D6
background
#F6F4F9
surface
#EBE8F1
border
#C6C4CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1E1665

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

Preview Lab → · Contrast checker → · Palette generator →

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