#1E1689#1E1689

#1E1689 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.177 H 272.8°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#1E1689
RGBrgb(30, 22, 137)
HSLhsl(244, 72%, 31%)
HSVhsv(244, 84%, 54%)
CMYKcmyk(78.1%, 83.9%, 0%, 46.3%)
CIE-LABlab(18.61, 42.29, -60.97)
CIE-LCHlch(18.61, 74.20, 304.75°)
OKLaboklab(31.7% 0.0087 -0.1764)
OKLCHoklch(31.7% 0.177 272.8)
XYZxyz(5.3362, 2.6554, 23.8934)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1689 #818916
analogous
#164789 #1E1689 #571689
triadic
#1E1689 #891E16 #16891E
tetradic
#1E1689 #891647 #818916 #168957
square
#1E1689 #891647 #818916 #168957
split-complementary
#1E1689 #895716 #478916
monochromatic
#070520 #120E54 #1E1689 #2A1EBE #463ADF

Accessibility & contrast

On white

13.71
#1E1689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1E1689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1689
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1689#FFFFFF#000000##FFFFFF
##1E16891.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002887
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e1689;
/* rgb */ color: rgb(30, 22, 137);
/* oklch */ color: oklch(31.7% 0.177 272.8);
Tailwind
colors: {
  custom: {
    50: '#6f57ad',
    500: '#1e1689',
    950: '#000000',
  },
}
SCSS
$custom: #1e1689;
$custom-light: #6f57ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1689",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 244.174,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31701,
    "c": 0.17659,
    "h": 272.8
  },
  "luminance": 0.02656
}

Semantic roles & 50–950 ramp

primary
#1E1689
secondary
#B4BD3E
accent
#EF39E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #1E1689

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

Preview Lab → · Contrast checker → · Palette generator →

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