#1E2896#1E2896

#1E2896 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.7% C 0.176 H 269.8°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#1E2896
RGBrgb(30, 40, 150)
HSLhsl(235, 67%, 35%)
HSVhsv(235, 80%, 59%)
CMYKcmyk(80%, 73.3%, 0%, 41.2%)
CIE-LABlab(23.65, 36.62, -60.70)
CIE-LCHlch(23.65, 70.89, 301.10°)
OKLaboklab(35.7% -0.0005 -0.1758)
OKLCHoklch(35.7% 0.176 269.8)
XYZxyz(6.7973, 3.9948, 29.2611)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2896 #968C1E
analogous
#1E6496 #1E2896 #501E96
triadic
#1E2896 #961E28 #28961E
tetradic
#1E2896 #961E64 #968C1E #1E9650
square
#1E2896 #961E64 #968C1E #1E9650
split-complementary
#1E2896 #96501E #64961E
monochromatic
#0A0D30 #141A63 #1E2896 #2836C9 #525EDC

Accessibility & contrast

On white

11.67
#1E2896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1E2896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2896
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2896#FFFFFF#000000##FFFFFF
##1E28961.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003294
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e2896;
/* rgb */ color: rgb(30, 40, 150);
/* oklch */ color: oklch(35.7% 0.176 269.8);
Tailwind
colors: {
  custom: {
    50: '#7063b6',
    500: '#1e2896',
    950: '#000000',
  },
}
SCSS
$custom: #1e2896;
$custom-light: #7063b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2896",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 235,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.357,
    "c": 0.17579,
    "h": 269.8
  },
  "luminance": 0.03996
}

Semantic roles & 50–950 ramp

primary
#1E2896
secondary
#BFB650
accent
#DB3EEA
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1E2896

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

Preview Lab → · Contrast checker → · Palette generator →

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