#1E4C97#1E4C97

#1E4C97 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 42.9% C 0.133 H 259.8°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#1E4C97
RGBrgb(30, 76, 151)
HSLhsl(217, 67%, 35%)
HSVhsv(217, 80%, 59%)
CMYKcmyk(80.1%, 49.7%, 0%, 40.8%)
CIE-LABlab(33.30, 12.85, -45.56)
CIE-LCHlch(33.30, 47.34, 285.75°)
OKLaboklab(42.92% -0.0235 -0.131)
OKLCHoklch(42.92% 0.133 259.8)
XYZxyz(8.7037, 7.6782, 30.2955)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4C97 #97691E
analogous
#1E8897 #1E4C97 #2C1E97
triadic
#1E4C97 #971E4C #4C971E
tetradic
#1E4C97 #971E88 #97691E #1E972C
square
#1E4C97 #971E88 #97691E #1E972C
split-complementary
#1E4C97 #972C1E #88971E
monochromatic
#0A1931 #143264 #1E4C97 #2866CA #5387DD

Accessibility & contrast

On white

8.28
#1E4C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#1E4C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4C97
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4C97#FFFFFF#000000##FFFFFF
##1E4C971.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20549A
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1e4c97;
/* rgb */ color: rgb(30, 76, 151);
/* oklch */ color: oklch(42.9% 0.133 259.8);
Tailwind
colors: {
  custom: {
    50: '#6e7db6',
    500: '#1e4c97',
    950: '#000000',
  },
}
SCSS
$custom: #1e4c97;
$custom-light: #6e7db6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4c97",
  "rgb": {
    "r": 30,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 217.19,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42915,
    "c": 0.13308,
    "h": 259.8
  },
  "luminance": 0.07679
}

Semantic roles & 50–950 ramp

primary
#1E4C97
secondary
#C09651
accent
#A83EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1E4C97

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

Preview Lab → · Contrast checker → · Palette generator →

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