#1E1782#1E1782

#1E1782 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.0% C 0.167 H 273.5°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#1E1782
RGBrgb(30, 23, 130)
HSLhsl(244, 70%, 30%)
HSVhsv(244, 82%, 51%)
CMYKcmyk(76.9%, 82.3%, 0%, 49%)
CIE-LABlab(17.92, 39.50, -57.69)
CIE-LCHlch(17.92, 69.92, 304.40°)
OKLaboklab(30.97% 0.0102 -0.1669)
OKLCHoklch(30.97% 0.167 273.5)
XYZxyz(4.8697, 2.5000, 21.3407)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1782 #7B8217
analogous
#174682 #1E1782 #531782
triadic
#1E1782 #821E17 #17821E
tetradic
#1E1782 #821746 #7B8217 #178253
square
#1E1782 #821746 #7B8217 #178253
split-complementary
#1E1782 #825317 #468217
monochromatic
#06051A #120E4E #1E1782 #2A20B6 #4238DC

Accessibility & contrast

On white

14.00
#1E1782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1E1782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1782
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1782#FFFFFF#000000##FFFFFF
##1E17821.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003185
Deuteranopia (green-blind)
#002780
Tritanopia (blue-blind)
#00384D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e1782;
/* rgb */ color: rgb(30, 23, 130);
/* oklch */ color: oklch(31.0% 0.167 273.5);
Tailwind
colors: {
  custom: {
    50: '#6d57a8',
    500: '#1e1782',
    950: '#000000',
  },
}
SCSS
$custom: #1e1782;
$custom-light: #6d57a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1782",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 130
  },
  "hsl": {
    "h": 243.925,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.30974,
    "c": 0.16722,
    "h": 273.5
  },
  "luminance": 0.02501
}

Semantic roles & 50–950 ramp

primary
#1E1782
secondary
#AEB63E
accent
#ED3BE1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1E1782

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

Preview Lab → · Contrast checker → · Palette generator →

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