#1E3796#1E3796

#1E3796 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.158 H 267.0°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#1E3796
RGBrgb(30, 55, 150)
HSLhsl(228, 67%, 35%)
HSVhsv(228, 80%, 59%)
CMYKcmyk(80%, 63.3%, 0%, 41.2%)
CIE-LABlab(27.32, 26.81, -54.67)
CIE-LCHlch(27.32, 60.88, 296.12°)
OKLaboklab(38.38% -0.0084 -0.1581)
OKLCHoklch(38.38% 0.158 267)
XYZxyz(7.4047, 5.2096, 29.4635)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3796 #967D1E
analogous
#1E7396 #1E3796 #411E96
triadic
#1E3796 #961E37 #37961E
tetradic
#1E3796 #961E73 #967D1E #1E9641
square
#1E3796 #961E73 #967D1E #1E9641
split-complementary
#1E3796 #96411E #73961E
monochromatic
#0A1230 #142463 #1E3796 #284AC9 #526FDC

Accessibility & contrast

On white

10.28
#1E3796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#1E3796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3796
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3796#FFFFFF#000000##FFFFFF
##1E37961.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1e3796;
/* rgb */ color: rgb(30, 55, 150);
/* oklch */ color: oklch(38.4% 0.158 267.0);
Tailwind
colors: {
  custom: {
    50: '#6f6db6',
    500: '#1e3796',
    950: '#000000',
  },
}
SCSS
$custom: #1e3796;
$custom-light: #6f6db6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3796",
  "rgb": {
    "r": 30,
    "g": 55,
    "b": 150
  },
  "hsl": {
    "h": 227.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38376,
    "c": 0.15834,
    "h": 267
  },
  "luminance": 0.0521
}

Semantic roles & 50–950 ramp

primary
#1E3796
secondary
#BFA850
accent
#C63EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #1E3796

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

Preview Lab → · Contrast checker → · Palette generator →

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