#1E3784#1E3784

#1E3784 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.7% C 0.133 H 266.2°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#1E3784
RGBrgb(30, 55, 132)
HSLhsl(225, 63%, 32%)
HSVhsv(225, 77%, 52%)
CMYKcmyk(77.3%, 58.3%, 0%, 48.2%)
CIE-LABlab(25.78, 19.70, -46.04)
CIE-LCHlch(25.78, 50.08, 293.16°)
OKLaboklab(36.75% -0.0088 -0.1328)
OKLCHoklch(36.75% 0.133 266.2)
XYZxyz(6.0650, 4.6737, 22.4078)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3784 #846B1E
analogous
#1E6A84 #1E3784 #381E84
triadic
#1E3784 #841E37 #37841E
tetradic
#1E3784 #841E6A #846B1E #1E8438
square
#1E3784 #841E6A #846B1E #1E8438
split-complementary
#1E3784 #84381E #6A841E
monochromatic
#070D20 #132252 #1E3784 #294CB6 #476AD5

Accessibility & contrast

On white

10.85
#1E3784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1E3784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3784
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3784#FFFFFF#000000##FFFFFF
##1E37841.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1e3784;
/* rgb */ color: rgb(30, 55, 132);
/* oklch */ color: oklch(36.7% 0.133 266.2);
Tailwind
colors: {
  custom: {
    50: '#6a6da8',
    500: '#1e3784',
    950: '#000000',
  },
}
SCSS
$custom: #1e3784;
$custom-light: #6a6da8;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3784",
  "rgb": {
    "r": 30,
    "g": 55,
    "b": 132
  },
  "hsl": {
    "h": 225.294,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36749,
    "c": 0.13309,
    "h": 266.2
  },
  "luminance": 0.04674
}

Semantic roles & 50–950 ramp

primary
#1E3784
secondary
#B79B47
accent
#BE42E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1E3784

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

Preview Lab → · Contrast checker → · Palette generator →

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