#1E4D98#1E4D98

#1E4D98 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.2% C 0.133 H 259.5°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#1E4D98
RGBrgb(30, 77, 152)
HSLhsl(217, 67%, 36%)
HSVhsv(217, 80%, 60%)
CMYKcmyk(80.3%, 49.3%, 0%, 40.4%)
CIE-LABlab(33.67, 12.58, -45.58)
CIE-LCHlch(33.67, 47.28, 285.43°)
OKLaboklab(43.22% -0.0242 -0.131)
OKLCHoklch(43.22% 0.133 259.5)
XYZxyz(8.8547, 7.8497, 30.7481)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4D98 #98691E
analogous
#1E8A98 #1E4D98 #2C1E98
triadic
#1E4D98 #981E4D #4D981E
tetradic
#1E4D98 #981E8A #98691E #1E982C
square
#1E4D98 #981E8A #98691E #1E982C
split-complementary
#1E4D98 #982C1E #8A981E
monochromatic
#0A1932 #143365 #1E4D98 #2867CB #5388DD

Accessibility & contrast

On white

8.17
#1E4D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#1E4D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4D98
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4D98#FFFFFF#000000##FFFFFF
##1E4D981.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22559B
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1e4d98;
/* rgb */ color: rgb(30, 77, 152);
/* oklch */ color: oklch(43.2% 0.133 259.5);
Tailwind
colors: {
  custom: {
    50: '#6e7eb7',
    500: '#1e4d98',
    950: '#000000',
  },
}
SCSS
$custom: #1e4d98;
$custom-light: #6e7eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4d98",
  "rgb": {
    "r": 30,
    "g": 77,
    "b": 152
  },
  "hsl": {
    "h": 216.885,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43217,
    "c": 0.13324,
    "h": 259.5
  },
  "luminance": 0.07851
}

Semantic roles & 50–950 ramp

primary
#1E4D98
secondary
#C09651
accent
#A83EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1E4D98

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

Preview Lab → · Contrast checker → · Palette generator →

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