#1E2396#1E2396

#1E2396 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.181 H 270.5°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#1E2396
RGBrgb(30, 35, 150)
HSLhsl(238, 67%, 35%)
HSVhsv(238, 80%, 59%)
CMYKcmyk(80%, 76.7%, 0%, 41.2%)
CIE-LABlab(22.58, 39.62, -62.47)
CIE-LCHlch(22.58, 73.97, 302.39°)
OKLaboklab(34.94% 0.0015 -0.1809)
OKLCHoklch(34.94% 0.181 270.5)
XYZxyz(6.6396, 3.6793, 29.2085)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2396 #96911E
analogous
#1E5F96 #1E2396 #551E96
triadic
#1E2396 #961E23 #23961E
tetradic
#1E2396 #961E5F #96911E #1E9655
square
#1E2396 #961E5F #96911E #1E9655
split-complementary
#1E2396 #96551E #5F961E
monochromatic
#0A0B30 #141763 #1E2396 #282FC9 #5258DC

Accessibility & contrast

On white

12.10
#1E2396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1E2396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2396
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2396#FFFFFF#000000##FFFFFF
##1E23961.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003094
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e2396;
/* rgb */ color: rgb(30, 35, 150);
/* oklch */ color: oklch(34.9% 0.181 270.5);
Tailwind
colors: {
  custom: {
    50: '#715fb6',
    500: '#1e2396',
    950: '#000000',
  },
}
SCSS
$custom: #1e2396;
$custom-light: #715fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2396",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 237.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34936,
    "c": 0.18092,
    "h": 270.5
  },
  "luminance": 0.0368
}

Semantic roles & 50–950 ramp

primary
#1E2396
secondary
#BFBB50
accent
#E23EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1E2396

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

Preview Lab → · Contrast checker → · Palette generator →

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