#1E2C96#1E2C96

#1E2C96 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.171 H 269.2°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#1E2C96
RGBrgb(30, 44, 150)
HSLhsl(233, 67%, 35%)
HSVhsv(233, 80%, 59%)
CMYKcmyk(80%, 70.7%, 0%, 41.2%)
CIE-LABlab(24.57, 34.10, -59.18)
CIE-LCHlch(24.57, 68.30, 299.95°)
OKLaboklab(36.36% -0.0023 -0.1714)
OKLCHoklch(36.36% 0.171 269.2)
XYZxyz(6.9392, 4.2786, 29.3084)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2C96 #96881E
analogous
#1E6896 #1E2C96 #4C1E96
triadic
#1E2C96 #961E2C #2C961E
tetradic
#1E2C96 #961E68 #96881E #1E964C
square
#1E2C96 #961E68 #96881E #1E964C
split-complementary
#1E2C96 #964C1E #68961E
monochromatic
#0A0E30 #141D63 #1E2C96 #283BC9 #5262DC

Accessibility & contrast

On white

11.32
#1E2C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1E2C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2C96
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2C96#FFFFFF#000000##FFFFFF
##1E2C961.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003594
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e2c96;
/* rgb */ color: rgb(30, 44, 150);
/* oklch */ color: oklch(36.4% 0.171 269.2);
Tailwind
colors: {
  custom: {
    50: '#7065b6',
    500: '#1e2c96',
    950: '#000000',
  },
}
SCSS
$custom: #1e2c96;
$custom-light: #7065b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2c96",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 233,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36361,
    "c": 0.17141,
    "h": 269.2
  },
  "luminance": 0.04279
}

Semantic roles & 50–950 ramp

primary
#1E2C96
secondary
#BFB350
accent
#D63EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #1E2C96

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

Preview Lab → · Contrast checker → · Palette generator →

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