#1E3296#1E3296

#1E3296 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.164 H 268.1°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#1E3296
RGBrgb(30, 50, 150)
HSLhsl(230, 67%, 35%)
HSVhsv(230, 80%, 59%)
CMYKcmyk(80%, 66.7%, 0%, 41.2%)
CIE-LABlab(26.04, 30.17, -56.78)
CIE-LCHlch(26.04, 64.30, 297.99°)
OKLaboklab(37.43% -0.0055 -0.1643)
OKLCHoklch(37.43% 0.164 268.1)
XYZxyz(7.1791, 4.7584, 29.3883)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3296 #96821E
analogous
#1E6E96 #1E3296 #461E96
triadic
#1E3296 #961E32 #32961E
tetradic
#1E3296 #961E6E #96821E #1E9646
square
#1E3296 #961E6E #96821E #1E9646
split-complementary
#1E3296 #96461E #6E961E
monochromatic
#0A1030 #142163 #1E3296 #2843C9 #5269DC

Accessibility & contrast

On white

10.76
#1E3296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1E3296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3296
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3296#FFFFFF#000000##FFFFFF
##1E32961.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1e3296;
/* rgb */ color: rgb(30, 50, 150);
/* oklch */ color: oklch(37.4% 0.164 268.1);
Tailwind
colors: {
  custom: {
    50: '#6f6ab6',
    500: '#1e3296',
    950: '#000000',
  },
}
SCSS
$custom: #1e3296;
$custom-light: #6f6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3296",
  "rgb": {
    "r": 30,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 230,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37427,
    "c": 0.16443,
    "h": 268.1
  },
  "luminance": 0.04759
}

Semantic roles & 50–950 ramp

primary
#1E3296
secondary
#BFAD50
accent
#CD3EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1E3296

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

Preview Lab → · Contrast checker → · Palette generator →

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