#1E3794#1E3794

#1E3794 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.156 H 266.9°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#1E3794
RGBrgb(30, 55, 148)
HSLhsl(227, 66%, 35%)
HSVhsv(227, 80%, 58%)
CMYKcmyk(79.7%, 62.8%, 0%, 42%)
CIE-LABlab(27.15, 26.03, -53.73)
CIE-LCHlch(27.15, 59.70, 295.85°)
OKLaboklab(38.19% -0.0084 -0.1554)
OKLCHoklch(38.19% 0.156 266.9)
XYZxyz(7.2450, 5.1457, 28.6226)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3794 #947B1E
analogous
#1E7294 #1E3794 #401E94
triadic
#1E3794 #941E37 #37941E
tetradic
#1E3794 #941E72 #947B1E #1E9440
square
#1E3794 #941E72 #947B1E #1E9440
split-complementary
#1E3794 #94401E #72941E
monochromatic
#09112E #142461 #1E3794 #284AC7 #516EDC

Accessibility & contrast

On white

10.35
#1E3794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#1E3794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3794
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3794#FFFFFF#000000##FFFFFF
##1E37941.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1e3794;
/* rgb */ color: rgb(30, 55, 148);
/* oklch */ color: oklch(38.2% 0.156 266.9);
Tailwind
colors: {
  custom: {
    50: '#6e6db4',
    500: '#1e3794',
    950: '#000000',
  },
}
SCSS
$custom: #1e3794;
$custom-light: #6e6db4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3794",
  "rgb": {
    "r": 30,
    "g": 55,
    "b": 148
  },
  "hsl": {
    "h": 227.288,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3819,
    "c": 0.1556,
    "h": 266.9
  },
  "luminance": 0.05147
}

Semantic roles & 50–950 ramp

primary
#1E3794
secondary
#BFA74F
accent
#C53FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1E3794

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

Preview Lab → · Contrast checker → · Palette generator →

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