#1E4C98#1E4C98

#1E4C98 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.0% C 0.134 H 260.0°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#1E4C98
RGBrgb(30, 76, 152)
HSLhsl(217, 67%, 36%)
HSVhsv(217, 80%, 60%)
CMYKcmyk(80.3%, 50%, 0%, 40.4%)
CIE-LABlab(33.37, 13.25, -46.06)
CIE-LCHlch(33.37, 47.92, 286.05°)
OKLaboklab(42.99% -0.0234 -0.1325)
OKLCHoklch(42.99% 0.134 260)
XYZxyz(8.7853, 7.7109, 30.7250)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4C98 #986A1E
analogous
#1E8998 #1E4C98 #2D1E98
triadic
#1E4C98 #981E4C #4C981E
tetradic
#1E4C98 #981E89 #986A1E #1E982D
square
#1E4C98 #981E89 #986A1E #1E982D
split-complementary
#1E4C98 #982D1E #89981E
monochromatic
#0A1932 #143265 #1E4C98 #2866CB #5387DD

Accessibility & contrast

On white

8.26
#1E4C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#1E4C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4C98
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4C98#FFFFFF#000000##FFFFFF
##1E4C981.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F549B
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1e4c98;
/* rgb */ color: rgb(30, 76, 152);
/* oklch */ color: oklch(43.0% 0.134 260.0);
Tailwind
colors: {
  custom: {
    50: '#6e7db7',
    500: '#1e4c98',
    950: '#000000',
  },
}
SCSS
$custom: #1e4c98;
$custom-light: #6e7db7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4c98",
  "rgb": {
    "r": 30,
    "g": 76,
    "b": 152
  },
  "hsl": {
    "h": 217.377,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42991,
    "c": 0.13449,
    "h": 260
  },
  "luminance": 0.07712
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E4C98

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

Preview Lab → · Contrast checker → · Palette generator →

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