#1E2496#1E2496

#1E2496 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.180 H 270.4°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#1E2496
RGBrgb(30, 36, 150)
HSLhsl(237, 67%, 35%)
HSVhsv(237, 80%, 59%)
CMYKcmyk(80%, 76%, 0%, 41.2%)
CIE-LABlab(22.79, 39.04, -62.12)
CIE-LCHlch(22.79, 73.37, 302.14°)
OKLaboklab(35.08% 0.0012 -0.1799)
OKLCHoklch(35.08% 0.18 270.4)
XYZxyz(6.6694, 3.7390, 29.2184)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2496 #96901E
analogous
#1E6096 #1E2496 #541E96
triadic
#1E2496 #961E24 #24961E
tetradic
#1E2496 #961E60 #96901E #1E9654
square
#1E2496 #961E60 #96901E #1E9654
split-complementary
#1E2496 #96541E #60961E
monochromatic
#0A0C30 #141863 #1E2496 #2830C9 #5259DC

Accessibility & contrast

On white

12.01
#1E2496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1E2496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2496
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2496#FFFFFF#000000##FFFFFF
##1E24961.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2496;
/* rgb */ color: rgb(30, 36, 150);
/* oklch */ color: oklch(35.1% 0.180 270.4);
Tailwind
colors: {
  custom: {
    50: '#7160b6',
    500: '#1e2496',
    950: '#000000',
  },
}
SCSS
$custom: #1e2496;
$custom-light: #7160b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2496",
  "rgb": {
    "r": 30,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 237,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35083,
    "c": 0.17992,
    "h": 270.4
  },
  "luminance": 0.0374
}

Semantic roles & 50–950 ramp

primary
#1E2496
secondary
#BFBA50
accent
#E13EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1E2496

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

Preview Lab → · Contrast checker → · Palette generator →

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