#1E2A96#1E2A96

#1E2A96 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.174 H 269.5°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#1E2A96
RGBrgb(30, 42, 150)
HSLhsl(234, 67%, 35%)
HSVhsv(234, 80%, 59%)
CMYKcmyk(80%, 72%, 0%, 41.2%)
CIE-LABlab(24.11, 35.37, -59.95)
CIE-LCHlch(24.11, 69.60, 300.54°)
OKLaboklab(36.03% -0.0014 -0.1736)
OKLCHoklch(36.03% 0.174 269.5)
XYZxyz(6.8665, 4.1332, 29.2841)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A96 #968A1E
analogous
#1E6696 #1E2A96 #4E1E96
triadic
#1E2A96 #961E2A #2A961E
tetradic
#1E2A96 #961E66 #968A1E #1E964E
square
#1E2A96 #961E66 #968A1E #1E964E
split-complementary
#1E2A96 #964E1E #66961E
monochromatic
#0A0D30 #141C63 #1E2A96 #2838C9 #5260DC

Accessibility & contrast

On white

11.50
#1E2A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1E2A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A96
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A96#FFFFFF#000000##FFFFFF
##1E2A961.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003394
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1e2a96;
/* rgb */ color: rgb(30, 42, 150);
/* oklch */ color: oklch(36.0% 0.174 269.5);
Tailwind
colors: {
  custom: {
    50: '#7064b6',
    500: '#1e2a96',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a96;
$custom-light: #7064b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a96",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 234,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36025,
    "c": 0.17364,
    "h": 269.5
  },
  "luminance": 0.04134
}

Semantic roles & 50–950 ramp

primary
#1E2A96
secondary
#BFB450
accent
#D83EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #1E2A96

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

Preview Lab → · Contrast checker → · Palette generator →

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