#1E4096#1E4096

#1E4096 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.147 H 264.4°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#1E4096
RGBrgb(30, 64, 150)
HSLhsl(223, 67%, 35%)
HSVhsv(223, 80%, 59%)
CMYKcmyk(80%, 57.3%, 0%, 41.2%)
CIE-LABlab(29.77, 20.65, -50.67)
CIE-LCHlch(29.77, 54.72, 292.17°)
OKLaboklab(40.21% -0.0144 -0.1463)
OKLCHoklch(40.21% 0.147 264.4)
XYZxyz(7.8719, 6.1439, 29.6193)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4096 #96741E
analogous
#1E7C96 #1E4096 #381E96
triadic
#1E4096 #961E40 #40961E
tetradic
#1E4096 #961E7C #96741E #1E9638
square
#1E4096 #961E7C #96741E #1E9638
split-complementary
#1E4096 #96381E #7C961E
monochromatic
#0A1430 #142A63 #1E4096 #2856C9 #5279DC

Accessibility & contrast

On white

9.42
#1E4096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#1E4096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4096
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4096#FFFFFF#000000##FFFFFF
##1E40961.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#004194
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1e4096;
/* rgb */ color: rgb(30, 64, 150);
/* oklch */ color: oklch(40.2% 0.147 264.4);
Tailwind
colors: {
  custom: {
    50: '#6e74b6',
    500: '#1e4096',
    950: '#000000',
  },
}
SCSS
$custom: #1e4096;
$custom-light: #6e74b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4096",
  "rgb": {
    "r": 30,
    "g": 64,
    "b": 150
  },
  "hsl": {
    "h": 223,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40206,
    "c": 0.14697,
    "h": 264.4
  },
  "luminance": 0.06145
}

Semantic roles & 50–950 ramp

primary
#1E4096
secondary
#BFA050
accent
#B93EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1E4096

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

Preview Lab → · Contrast checker → · Palette generator →

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