#1E2096#1E2096

#1E2096 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.184 H 270.8°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#1E2096
RGBrgb(30, 32, 150)
HSLhsl(239, 67%, 35%)
HSVhsv(239, 80%, 59%)
CMYKcmyk(80%, 78.7%, 0%, 41.2%)
CIE-LABlab(21.98, 41.33, -63.46)
CIE-LCHlch(21.98, 75.73, 303.08°)
OKLaboklab(34.51% 0.0026 -0.1838)
OKLCHoklch(34.51% 0.184 270.8)
XYZxyz(6.5551, 3.5103, 29.1803)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2096 #96941E
analogous
#1E5C96 #1E2096 #581E96
triadic
#1E2096 #961E20 #20961E
tetradic
#1E2096 #961E5C #96941E #1E9658
square
#1E2096 #961E5C #96941E #1E9658
split-complementary
#1E2096 #96581E #5C961E
monochromatic
#0A0A30 #141563 #1E2096 #282BC9 #5254DC

Accessibility & contrast

On white

12.34
#1E2096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1E2096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2096
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2096#FFFFFF#000000##FFFFFF
##1E20961.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#002E94
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e2096;
/* rgb */ color: rgb(30, 32, 150);
/* oklch */ color: oklch(34.5% 0.184 270.8);
Tailwind
colors: {
  custom: {
    50: '#715eb6',
    500: '#1e2096',
    950: '#000000',
  },
}
SCSS
$custom: #1e2096;
$custom-light: #715eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2096",
  "rgb": {
    "r": 30,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 239,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34512,
    "c": 0.18378,
    "h": 270.8
  },
  "luminance": 0.03511
}

Semantic roles & 50–950 ramp

primary
#1E2096
secondary
#BFBE50
accent
#E73EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E2096

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

Preview Lab → · Contrast checker → · Palette generator →

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