#1E4F98#1E4F98

#1E4F98 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.7% C 0.131 H 258.6°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#1E4F98
RGBrgb(30, 79, 152)
HSLhsl(216, 67%, 36%)
HSVhsv(216, 80%, 60%)
CMYKcmyk(80.3%, 48%, 0%, 40.4%)
CIE-LABlab(34.26, 11.23, -44.63)
CIE-LCHlch(34.26, 46.02, 284.13°)
OKLaboklab(43.67% -0.0258 -0.1282)
OKLCHoklch(43.67% 0.131 258.6)
XYZxyz(8.9968, 8.1339, 30.7955)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4F98 #98671E
analogous
#1E8C98 #1E4F98 #2A1E98
triadic
#1E4F98 #981E4F #4F981E
tetradic
#1E4F98 #981E8C #98671E #1E982A
square
#1E4F98 #981E8C #98671E #1E982A
split-complementary
#1E4F98 #982A1E #8C981E
monochromatic
#0A1A32 #143465 #1E4F98 #286ACB #538BDD

Accessibility & contrast

On white

7.99
#1E4F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#1E4F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4F98
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4F98#FFFFFF#000000##FFFFFF
##1E4F981.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27569B
Deuteranopia (green-blind)
#024B97
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1e4f98;
/* rgb */ color: rgb(30, 79, 152);
/* oklch */ color: oklch(43.7% 0.131 258.6);
Tailwind
colors: {
  custom: {
    50: '#6e7fb7',
    500: '#1e4f98',
    950: '#000000',
  },
}
SCSS
$custom: #1e4f98;
$custom-light: #6e7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4f98",
  "rgb": {
    "r": 30,
    "g": 79,
    "b": 152
  },
  "hsl": {
    "h": 215.902,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43672,
    "c": 0.13075,
    "h": 258.6
  },
  "luminance": 0.08135
}

Semantic roles & 50–950 ramp

primary
#1E4F98
secondary
#C09451
accent
#A53EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1E4F98

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

Preview Lab → · Contrast checker → · Palette generator →

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