#1E4A98#1E4A98

#1E4A98 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.137 H 260.9°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#1E4A98
RGBrgb(30, 74, 152)
HSLhsl(218, 67%, 36%)
HSVhsv(218, 80%, 60%)
CMYKcmyk(80.3%, 51.3%, 0%, 40.4%)
CIE-LABlab(32.79, 14.61, -47.00)
CIE-LCHlch(32.79, 49.22, 287.27°)
OKLaboklab(42.54% -0.0218 -0.1353)
OKLCHoklch(42.54% 0.137 260.9)
XYZxyz(8.6496, 7.4396, 30.6798)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4A98 #986C1E
analogous
#1E8798 #1E4A98 #2F1E98
triadic
#1E4A98 #981E4A #4A981E
tetradic
#1E4A98 #981E87 #986C1E #1E982F
square
#1E4A98 #981E87 #986C1E #1E982F
split-complementary
#1E4A98 #982F1E #87981E
monochromatic
#0A1832 #143165 #1E4A98 #2863CB #5385DD

Accessibility & contrast

On white

8.44
#1E4A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1E4A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4A98
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4A98#FFFFFF#000000##FFFFFF
##1E4A981.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19539B
Deuteranopia (green-blind)
#004896
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1e4a98;
/* rgb */ color: rgb(30, 74, 152);
/* oklch */ color: oklch(42.5% 0.137 260.9);
Tailwind
colors: {
  custom: {
    50: '#6e7bb7',
    500: '#1e4a98',
    950: '#000000',
  },
}
SCSS
$custom: #1e4a98;
$custom-light: #6e7bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4a98",
  "rgb": {
    "r": 30,
    "g": 74,
    "b": 152
  },
  "hsl": {
    "h": 218.361,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42542,
    "c": 0.13701,
    "h": 260.9
  },
  "luminance": 0.07441
}

Semantic roles & 50–950 ramp

primary
#1E4A98
secondary
#C09851
accent
#AC3EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1E4A98

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

Preview Lab → · Contrast checker → · Palette generator →

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