#1E1680#1E1680

#1E1680 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.166 H 273.8°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#1E1680
RGBrgb(30, 22, 128)
HSLhsl(245, 71%, 29%)
HSVhsv(245, 83%, 50%)
CMYKcmyk(76.6%, 82.8%, 0%, 49.8%)
CIE-LABlab(17.50, 39.36, -57.13)
CIE-LCHlch(17.50, 69.37, 304.57°)
OKLaboklab(30.61% 0.0111 -0.1652)
OKLCHoklch(30.61% 0.166 273.8)
XYZxyz(4.7173, 2.4079, 20.6340)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1680 #788016
analogous
#164380 #1E1680 #531680
triadic
#1E1680 #801E16 #16801E
tetradic
#1E1680 #801643 #788016 #168053
square
#1E1680 #801643 #788016 #168053
split-complementary
#1E1680 #805316 #438016
monochromatic
#06041A #120D4C #1E1680 #2A1FB4 #4134DC

Accessibility & contrast

On white

14.17
#1E1680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1E1680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1680
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1680#FFFFFF#000000##FFFFFF
##1E16801.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003083
Deuteranopia (green-blind)
#00267E
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1e1680;
/* rgb */ color: rgb(30, 22, 128);
/* oklch */ color: oklch(30.6% 0.166 273.8);
Tailwind
colors: {
  custom: {
    50: '#6c56a6',
    500: '#1e1680',
    950: '#000000',
  },
}
SCSS
$custom: #1e1680;
$custom-light: #6c56a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1680",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 244.528,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30609,
    "c": 0.16561,
    "h": 273.8
  },
  "luminance": 0.02408
}

Semantic roles & 50–950 ramp

primary
#1E1680
secondary
#ACB53D
accent
#ED3AE0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1E1680

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

Preview Lab → · Contrast checker → · Palette generator →

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