#1E4298#1E4298

#1E4298 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.147 H 263.9°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#1E4298
RGBrgb(30, 66, 152)
HSLhsl(222, 67%, 36%)
HSVhsv(222, 80%, 60%)
CMYKcmyk(80.3%, 56.6%, 0%, 40.4%)
CIE-LABlab(30.49, 20.08, -50.72)
CIE-LCHlch(30.49, 54.55, 291.59°)
OKLaboklab(40.8% -0.0157 -0.1464)
OKLCHoklch(40.8% 0.147 263.9)
XYZxyz(8.1491, 6.4385, 30.5129)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4298 #98741E
analogous
#1E7F98 #1E4298 #371E98
triadic
#1E4298 #981E42 #42981E
tetradic
#1E4298 #981E7F #98741E #1E9837
square
#1E4298 #981E7F #98741E #1E9837
split-complementary
#1E4298 #98371E #7F981E
monochromatic
#0A1632 #142C65 #1E4298 #2858CB #537CDD

Accessibility & contrast

On white

9.18
#1E4298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#1E4298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4298
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4298#FFFFFF#000000##FFFFFF
##1E42981.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#004296
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1e4298;
/* rgb */ color: rgb(30, 66, 152);
/* oklch */ color: oklch(40.8% 0.147 263.9);
Tailwind
colors: {
  custom: {
    50: '#6e75b7',
    500: '#1e4298',
    950: '#000000',
  },
}
SCSS
$custom: #1e4298;
$custom-light: #6e75b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4298",
  "rgb": {
    "r": 30,
    "g": 66,
    "b": 152
  },
  "hsl": {
    "h": 222.295,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40799,
    "c": 0.1472,
    "h": 263.9
  },
  "luminance": 0.06439
}

Semantic roles & 50–950 ramp

primary
#1E4298
secondary
#C0A051
accent
#B73EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1E4298

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

Preview Lab → · Contrast checker → · Palette generator →

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