#1E2996#1E2996

#1E2996 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.175 H 269.7°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#1E2996
RGBrgb(30, 41, 150)
HSLhsl(235, 67%, 35%)
HSVhsv(235, 80%, 59%)
CMYKcmyk(80%, 72.7%, 0%, 41.2%)
CIE-LABlab(23.88, 36.00, -60.32)
CIE-LCHlch(23.88, 70.25, 300.82°)
OKLaboklab(35.86% -0.0009 -0.1747)
OKLCHoklch(35.86% 0.175 269.7)
XYZxyz(6.8315, 4.0631, 29.2725)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2996 #968B1E
analogous
#1E6596 #1E2996 #4F1E96
triadic
#1E2996 #961E29 #29961E
tetradic
#1E2996 #961E65 #968B1E #1E964F
square
#1E2996 #961E65 #968B1E #1E964F
split-complementary
#1E2996 #964F1E #65961E
monochromatic
#0A0D30 #141B63 #1E2996 #2837C9 #525FDC

Accessibility & contrast

On white

11.58
#1E2996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1E2996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2996
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2996#FFFFFF#000000##FFFFFF
##1E29961.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2996;
/* rgb */ color: rgb(30, 41, 150);
/* oklch */ color: oklch(35.9% 0.175 269.7);
Tailwind
colors: {
  custom: {
    50: '#7063b6',
    500: '#1e2996',
    950: '#000000',
  },
}
SCSS
$custom: #1e2996;
$custom-light: #7063b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2996",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 150
  },
  "hsl": {
    "h": 234.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35862,
    "c": 0.17472,
    "h": 269.7
  },
  "luminance": 0.04064
}

Semantic roles & 50–950 ramp

primary
#1E2996
secondary
#BFB550
accent
#DA3EEA
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1E2996

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

Preview Lab → · Contrast checker → · Palette generator →

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