#1E2796#1E2796

#1E2796 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.177 H 270.0°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#1E2796
RGBrgb(30, 39, 150)
HSLhsl(236, 67%, 35%)
HSVhsv(236, 80%, 59%)
CMYKcmyk(80%, 74%, 0%, 41.2%)
CIE-LABlab(23.43, 37.23, -61.06)
CIE-LCHlch(23.43, 71.52, 301.37°)
OKLaboklab(35.54% -0.0001 -0.1768)
OKLCHoklch(35.54% 0.177 270)
XYZxyz(6.7641, 3.9283, 29.2500)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2796 #968D1E
analogous
#1E6396 #1E2796 #511E96
triadic
#1E2796 #961E27 #27961E
tetradic
#1E2796 #961E63 #968D1E #1E9651
square
#1E2796 #961E63 #968D1E #1E9651
split-complementary
#1E2796 #96511E #63961E
monochromatic
#0A0C30 #141A63 #1E2796 #2834C9 #525CDC

Accessibility & contrast

On white

11.76
#1E2796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1E2796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2796
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2796#FFFFFF#000000##FFFFFF
##1E27961.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.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: #1e2796;
/* rgb */ color: rgb(30, 39, 150);
/* oklch */ color: oklch(35.5% 0.177 270.0);
Tailwind
colors: {
  custom: {
    50: '#7062b6',
    500: '#1e2796',
    950: '#000000',
  },
}
SCSS
$custom: #1e2796;
$custom-light: #7062b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2796",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 235.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35542,
    "c": 0.17685,
    "h": 270
  },
  "luminance": 0.03929
}

Semantic roles & 50–950 ramp

primary
#1E2796
secondary
#BFB750
accent
#DD3EEA
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1E2796

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

Preview Lab → · Contrast checker → · Palette generator →

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