#1E2296#1E2296

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

Color values

HEX#1E2296
RGBrgb(30, 34, 150)
HSLhsl(238, 67%, 35%)
HSVhsv(238, 80%, 59%)
CMYKcmyk(80%, 77.3%, 0%, 41.2%)
CIE-LABlab(22.38, 40.20, -62.80)
CIE-LCHlch(22.38, 74.57, 302.62°)
OKLaboklab(34.79% 0.0019 -0.1819)
OKLCHoklch(34.79% 0.182 270.6)
XYZxyz(6.6106, 3.6213, 29.1988)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2296 #96921E
analogous
#1E5E96 #1E2296 #561E96
triadic
#1E2296 #961E22 #22961E
tetradic
#1E2296 #961E5E #96921E #1E9656
square
#1E2296 #961E5E #96921E #1E9656
split-complementary
#1E2296 #96561E #5E961E
monochromatic
#0A0B30 #141663 #1E2296 #282EC9 #5257DC

Accessibility & contrast

On white

12.18
#1E2296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2296
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2296#FFFFFF#000000##FFFFFF
##1E22961.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2296;
/* rgb */ color: rgb(30, 34, 150);
/* oklch */ color: oklch(34.8% 0.182 270.6);
Tailwind
colors: {
  custom: {
    50: '#715fb6',
    500: '#1e2296',
    950: '#000000',
  },
}
SCSS
$custom: #1e2296;
$custom-light: #715fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2296",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 238,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34791,
    "c": 0.18189,
    "h": 270.6
  },
  "luminance": 0.03622
}

Semantic roles & 50–950 ramp

primary
#1E2296
secondary
#BFBC50
accent
#E43EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1E2296

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

Preview Lab → · Contrast checker → · Palette generator →

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