#1E3894#1E3894

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

Color values

HEX#1E3894
RGBrgb(30, 56, 148)
HSLhsl(227, 66%, 35%)
HSVhsv(227, 80%, 58%)
CMYKcmyk(79.7%, 62.2%, 0%, 42%)
CIE-LABlab(27.41, 25.35, -53.29)
CIE-LCHlch(27.41, 59.01, 295.43°)
OKLaboklab(38.39% -0.009 -0.1541)
OKLCHoklch(38.39% 0.154 266.6)
XYZxyz(7.2930, 5.2416, 28.6386)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3894 #947A1E
analogous
#1E7394 #1E3894 #3F1E94
triadic
#1E3894 #941E38 #38941E
tetradic
#1E3894 #941E73 #947A1E #1E943F
square
#1E3894 #941E73 #947A1E #1E943F
split-complementary
#1E3894 #943F1E #73941E
monochromatic
#09112E #142561 #1E3894 #284BC7 #516FDC

Accessibility & contrast

On white

10.25
#1E3894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#1E3894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3894
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3894#FFFFFF#000000##FFFFFF
##1E38941.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1e3894;
/* rgb */ color: rgb(30, 56, 148);
/* oklch */ color: oklch(38.4% 0.154 266.6);
Tailwind
colors: {
  custom: {
    50: '#6e6eb4',
    500: '#1e3894',
    950: '#000000',
  },
}
SCSS
$custom: #1e3894;
$custom-light: #6e6eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3894",
  "rgb": {
    "r": 30,
    "g": 56,
    "b": 148
  },
  "hsl": {
    "h": 226.78,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38388,
    "c": 0.15434,
    "h": 266.6
  },
  "luminance": 0.05242
}

Semantic roles & 50–950 ramp

primary
#1E3894
secondary
#BFA64F
accent
#C43FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1E3894

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

Preview Lab → · Contrast checker → · Palette generator →

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