#1E4B97#1E4B97

#1E4B97 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.134 H 260.3°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#1E4B97
RGBrgb(30, 75, 151)
HSLhsl(218, 67%, 35%)
HSVhsv(218, 80%, 59%)
CMYKcmyk(80.1%, 50.3%, 0%, 40.8%)
CIE-LABlab(33.01, 13.53, -46.04)
CIE-LCHlch(33.01, 47.98, 286.38°)
OKLaboklab(42.69% -0.0227 -0.1324)
OKLCHoklch(42.69% 0.134 260.3)
XYZxyz(8.6354, 7.5415, 30.2727)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4B97 #976A1E
analogous
#1E8797 #1E4B97 #2D1E97
triadic
#1E4B97 #971E4B #4B971E
tetradic
#1E4B97 #971E87 #976A1E #1E972D
square
#1E4B97 #971E87 #976A1E #1E972D
split-complementary
#1E4B97 #972D1E #87971E
monochromatic
#0A1831 #143264 #1E4B97 #2864CA #5386DD

Accessibility & contrast

On white

8.37
#1E4B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#1E4B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4B97
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4B97#FFFFFF#000000##FFFFFF
##1E4B971.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E539A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1e4b97;
/* rgb */ color: rgb(30, 75, 151);
/* oklch */ color: oklch(42.7% 0.134 260.3);
Tailwind
colors: {
  custom: {
    50: '#6e7cb6',
    500: '#1e4b97',
    950: '#000000',
  },
}
SCSS
$custom: #1e4b97;
$custom-light: #6e7cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4b97",
  "rgb": {
    "r": 30,
    "g": 75,
    "b": 151
  },
  "hsl": {
    "h": 217.686,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42689,
    "c": 0.13434,
    "h": 260.3
  },
  "luminance": 0.07543
}

Semantic roles & 50–950 ramp

primary
#1E4B97
secondary
#C09751
accent
#AA3EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1E4B97

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

Preview Lab → · Contrast checker → · Palette generator →

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