#1E2196#1E2196

#1E2196 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.183 H 270.7°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#1E2196
RGBrgb(30, 33, 150)
HSLhsl(239, 67%, 35%)
HSVhsv(239, 80%, 59%)
CMYKcmyk(80%, 78%, 0%, 41.2%)
CIE-LABlab(22.18, 40.77, -63.14)
CIE-LCHlch(22.18, 75.15, 302.85°)
OKLaboklab(34.65% 0.0023 -0.1828)
OKLCHoklch(34.65% 0.183 270.7)
XYZxyz(6.5824, 3.5650, 29.1894)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2196 #96931E
analogous
#1E5D96 #1E2196 #571E96
triadic
#1E2196 #961E21 #21961E
tetradic
#1E2196 #961E5D #96931E #1E9657
square
#1E2196 #961E5D #96931E #1E9657
split-complementary
#1E2196 #96571E #5D961E
monochromatic
#0A0B30 #141663 #1E2196 #282CC9 #5255DC

Accessibility & contrast

On white

12.26
#1E2196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1E2196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2196
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2196#FFFFFF#000000##FFFFFF
##1E21961.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2196;
/* rgb */ color: rgb(30, 33, 150);
/* oklch */ color: oklch(34.6% 0.183 270.7);
Tailwind
colors: {
  custom: {
    50: '#715eb6',
    500: '#1e2196',
    950: '#000000',
  },
}
SCSS
$custom: #1e2196;
$custom-light: #715eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2196",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 238.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3465,
    "c": 0.18284,
    "h": 270.7
  },
  "luminance": 0.03566
}

Semantic roles & 50–950 ramp

primary
#1E2196
secondary
#BFBD50
accent
#E53EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E2196

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

Preview Lab → · Contrast checker → · Palette generator →

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