#1E2197#1E2197

#1E2197 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.184 H 270.6°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#1E2197
RGBrgb(30, 33, 151)
HSLhsl(239, 67%, 35%)
HSVhsv(239, 80%, 59%)
CMYKcmyk(80.1%, 78.1%, 0%, 40.8%)
CIE-LABlab(22.29, 41.11, -63.56)
CIE-LCHlch(22.29, 75.70, 302.90°)
OKLaboklab(34.77% 0.0021 -0.1841)
OKLCHoklch(34.77% 0.184 270.6)
XYZxyz(6.6633, 3.5973, 29.6153)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2197 #97941E
analogous
#1E5E97 #1E2197 #571E97
triadic
#1E2197 #971E21 #21971E
tetradic
#1E2197 #971E5E #97941E #1E9757
square
#1E2197 #971E5E #97941E #1E9757
split-complementary
#1E2197 #97571E #5E971E
monochromatic
#0A0B31 #141664 #1E2197 #282CCA #5356DD

Accessibility & contrast

On white

12.21
#1E2197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1E2197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2197
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2197#FFFFFF#000000##FFFFFF
##1E21971.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9A
Deuteranopia (green-blind)
#002F95
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e2197;
/* rgb */ color: rgb(30, 33, 151);
/* oklch */ color: oklch(34.8% 0.184 270.6);
Tailwind
colors: {
  custom: {
    50: '#715eb7',
    500: '#1e2197',
    950: '#000000',
  },
}
SCSS
$custom: #1e2197;
$custom-light: #715eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2197",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 238.512,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34765,
    "c": 0.18408,
    "h": 270.6
  },
  "luminance": 0.03598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E2197

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

Preview Lab → · Contrast checker → · Palette generator →

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