#1E4998#1E4998

#1E4998 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.138 H 261.3°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#1E4998
RGBrgb(30, 73, 152)
HSLhsl(219, 67%, 36%)
HSVhsv(219, 80%, 60%)
CMYKcmyk(80.3%, 52%, 0%, 40.4%)
CIE-LABlab(32.50, 15.29, -47.47)
CIE-LCHlch(32.50, 49.87, 287.85°)
OKLaboklab(42.32% -0.021 -0.1367)
OKLCHoklch(42.32% 0.138 261.3)
XYZxyz(8.5834, 7.3071, 30.6577)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4998 #986D1E
analogous
#1E8698 #1E4998 #301E98
triadic
#1E4998 #981E49 #49981E
tetradic
#1E4998 #981E86 #986D1E #1E9830
square
#1E4998 #981E86 #986D1E #1E9830
split-complementary
#1E4998 #98301E #86981E
monochromatic
#0A1832 #143065 #1E4998 #2862CB #5384DD

Accessibility & contrast

On white

8.53
#1E4998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1E4998 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4998
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4998#FFFFFF#000000##FFFFFF
##1E49981.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16529B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1e4998;
/* rgb */ color: rgb(30, 73, 152);
/* oklch */ color: oklch(42.3% 0.138 261.3);
Tailwind
colors: {
  custom: {
    50: '#6e7bb7',
    500: '#1e4998',
    950: '#000000',
  },
}
SCSS
$custom: #1e4998;
$custom-light: #6e7bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4998",
  "rgb": {
    "r": 30,
    "g": 73,
    "b": 152
  },
  "hsl": {
    "h": 218.852,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4232,
    "c": 0.13828,
    "h": 261.3
  },
  "luminance": 0.07308
}

Semantic roles & 50–950 ramp

primary
#1E4998
secondary
#C09951
accent
#AD3EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1E4998

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

Preview Lab → · Contrast checker → · Palette generator →

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