#1E4F97#1E4F97

#1E4F97 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.6% C 0.129 H 258.4°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#1E4F97
RGBrgb(30, 79, 151)
HSLhsl(216, 67%, 35%)
HSVhsv(216, 80%, 59%)
CMYKcmyk(80.1%, 47.7%, 0%, 40.8%)
CIE-LABlab(34.19, 10.83, -44.13)
CIE-LCHlch(34.19, 45.44, 283.79°)
OKLaboklab(43.6% -0.026 -0.1267)
OKLCHoklch(43.6% 0.129 258.4)
XYZxyz(8.9153, 8.1013, 30.3660)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4F97 #97661E
analogous
#1E8C97 #1E4F97 #291E97
triadic
#1E4F97 #971E4F #4F971E
tetradic
#1E4F97 #971E8C #97661E #1E9729
square
#1E4F97 #971E8C #97661E #1E9729
split-complementary
#1E4F97 #97291E #8C971E
monochromatic
#0A1A31 #143464 #1E4F97 #286ACA #538BDD

Accessibility & contrast

On white

8.01
#1E4F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#1E4F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4F97
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4F97#FFFFFF#000000##FFFFFF
##1E4F971.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28569A
Deuteranopia (green-blind)
#054B96
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1e4f97;
/* rgb */ color: rgb(30, 79, 151);
/* oklch */ color: oklch(43.6% 0.129 258.4);
Tailwind
colors: {
  custom: {
    50: '#6e7fb6',
    500: '#1e4f97',
    950: '#000000',
  },
}
SCSS
$custom: #1e4f97;
$custom-light: #6e7fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4f97",
  "rgb": {
    "r": 30,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 215.702,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43599,
    "c": 0.12936,
    "h": 258.4
  },
  "luminance": 0.08102
}

Semantic roles & 50–950 ramp

primary
#1E4F97
secondary
#C09351
accent
#A43EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1E4F97

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

Preview Lab → · Contrast checker → · Palette generator →

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