#1E2696#1E2696

#1E2696 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.178 H 270.1°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#1E2696
RGBrgb(30, 38, 150)
HSLhsl(236, 67%, 35%)
HSVhsv(236, 80%, 59%)
CMYKcmyk(80%, 74.7%, 0%, 41.2%)
CIE-LABlab(23.21, 37.84, -61.42)
CIE-LCHlch(23.21, 72.14, 301.64°)
OKLaboklab(35.39% 0.0004 -0.1779)
OKLCHoklch(35.39% 0.178 270.1)
XYZxyz(6.7317, 3.8635, 29.2392)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2696 #968E1E
analogous
#1E6296 #1E2696 #521E96
triadic
#1E2696 #961E26 #26961E
tetradic
#1E2696 #961E62 #968E1E #1E9652
square
#1E2696 #961E62 #968E1E #1E9652
split-complementary
#1E2696 #96521E #62961E
monochromatic
#0A0C30 #141963 #1E2696 #2833C9 #525BDC

Accessibility & contrast

On white

11.85
#1E2696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1E2696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2696
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2696#FFFFFF#000000##FFFFFF
##1E26961.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003194
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e2696;
/* rgb */ color: rgb(30, 38, 150);
/* oklch */ color: oklch(35.4% 0.178 270.1);
Tailwind
colors: {
  custom: {
    50: '#7061b6',
    500: '#1e2696',
    950: '#000000',
  },
}
SCSS
$custom: #1e2696;
$custom-light: #7061b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2696",
  "rgb": {
    "r": 30,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 236,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35386,
    "c": 0.17789,
    "h": 270.1
  },
  "luminance": 0.03864
}

Semantic roles & 50–950 ramp

primary
#1E2696
secondary
#BFB850
accent
#DE3EEA
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1E2696

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

Preview Lab → · Contrast checker → · Palette generator →

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