#1E2D96#1E2D96

#1E2D96 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.170 H 269.1°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#1E2D96
RGBrgb(30, 45, 150)
HSLhsl(233, 67%, 35%)
HSVhsv(233, 80%, 59%)
CMYKcmyk(80%, 70%, 0%, 41.2%)
CIE-LABlab(24.81, 33.45, -58.79)
CIE-LCHlch(24.81, 67.64, 299.64°)
OKLaboklab(36.53% -0.0028 -0.1703)
OKLCHoklch(36.53% 0.17 269.1)
XYZxyz(6.9769, 4.3540, 29.3209)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D96 #96871E
analogous
#1E6996 #1E2D96 #4B1E96
triadic
#1E2D96 #961E2D #2D961E
tetradic
#1E2D96 #961E69 #96871E #1E964B
square
#1E2D96 #961E69 #96871E #1E964B
split-complementary
#1E2D96 #964B1E #69961E
monochromatic
#0A0E30 #141E63 #1E2D96 #283CC9 #5263DC

Accessibility & contrast

On white

11.22
#1E2D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1E2D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D96
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D96#FFFFFF#000000##FFFFFF
##1E2D961.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#003594
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1e2d96;
/* rgb */ color: rgb(30, 45, 150);
/* oklch */ color: oklch(36.5% 0.170 269.1);
Tailwind
colors: {
  custom: {
    50: '#7066b6',
    500: '#1e2d96',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d96;
$custom-light: #7066b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d96",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 150
  },
  "hsl": {
    "h": 232.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36533,
    "c": 0.17027,
    "h": 269.1
  },
  "luminance": 0.04355
}

Semantic roles & 50–950 ramp

primary
#1E2D96
secondary
#BFB250
accent
#D43EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1E2D96

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

Preview Lab → · Contrast checker → · Palette generator →

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