#1E4796#1E4796

#1E4796 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.7% C 0.138 H 261.8°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#1E4796
RGBrgb(30, 71, 150)
HSLhsl(220, 67%, 35%)
HSVhsv(220, 80%, 59%)
CMYKcmyk(80%, 52.7%, 0%, 41.2%)
CIE-LABlab(31.77, 15.85, -47.43)
CIE-LCHlch(31.77, 50.01, 288.48°)
OKLaboklab(41.72% -0.0197 -0.1366)
OKLCHoklch(41.72% 0.138 261.8)
XYZxyz(8.2917, 6.9835, 29.7592)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4796 #966D1E
analogous
#1E8396 #1E4796 #311E96
triadic
#1E4796 #961E47 #47961E
tetradic
#1E4796 #961E83 #966D1E #1E9631
square
#1E4796 #961E83 #966D1E #1E9631
split-complementary
#1E4796 #96311E #83961E
monochromatic
#0A1730 #142F63 #1E4796 #285FC9 #5281DC

Accessibility & contrast

On white

8.76
#1E4796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#1E4796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4796
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4796#FFFFFF#000000##FFFFFF
##1E47961.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115199
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1e4796;
/* rgb */ color: rgb(30, 71, 150);
/* oklch */ color: oklch(41.7% 0.138 261.8);
Tailwind
colors: {
  custom: {
    50: '#6e79b5',
    500: '#1e4796',
    950: '#000000',
  },
}
SCSS
$custom: #1e4796;
$custom-light: #6e79b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4796",
  "rgb": {
    "r": 30,
    "g": 71,
    "b": 150
  },
  "hsl": {
    "h": 219.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41719,
    "c": 0.13801,
    "h": 261.8
  },
  "luminance": 0.06985
}

Semantic roles & 50–950 ramp

primary
#1E4796
secondary
#BF9A50
accent
#AF3EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1E4796

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

Preview Lab → · Contrast checker → · Palette generator →

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