#1E4E98#1E4E98

#1E4E98 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.4% C 0.132 H 259.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#1E4E98
RGBrgb(30, 78, 152)
HSLhsl(216, 67%, 36%)
HSVhsv(216, 80%, 60%)
CMYKcmyk(80.3%, 48.7%, 0%, 40.4%)
CIE-LABlab(33.96, 11.90, -45.10)
CIE-LCHlch(33.96, 46.65, 284.78°)
OKLaboklab(43.44% -0.025 -0.1296)
OKLCHoklch(43.44% 0.132 259.1)
XYZxyz(8.9252, 7.9907, 30.7716)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4E98 #98681E
analogous
#1E8B98 #1E4E98 #2B1E98
triadic
#1E4E98 #981E4E #4E981E
tetradic
#1E4E98 #981E8B #98681E #1E982B
square
#1E4E98 #981E8B #98681E #1E982B
split-complementary
#1E4E98 #982B1E #8B981E
monochromatic
#0A1A32 #143465 #1E4E98 #2868CB #538ADD

Accessibility & contrast

On white

8.08
#1E4E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#1E4E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4E98
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4E98#FFFFFF#000000##FFFFFF
##1E4E981.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24569B
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1e4e98;
/* rgb */ color: rgb(30, 78, 152);
/* oklch */ color: oklch(43.4% 0.132 259.1);
Tailwind
colors: {
  custom: {
    50: '#6e7fb7',
    500: '#1e4e98',
    950: '#000000',
  },
}
SCSS
$custom: #1e4e98;
$custom-light: #6e7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4e98",
  "rgb": {
    "r": 30,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 216.393,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43444,
    "c": 0.132,
    "h": 259.1
  },
  "luminance": 0.07992
}

Semantic roles & 50–950 ramp

primary
#1E4E98
secondary
#C09551
accent
#A63EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1E4E98

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

Preview Lab → · Contrast checker → · Palette generator →

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