#1E3A98#1E3A98

#1E3A98 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.157 H 266.3°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#1E3A98
RGBrgb(30, 58, 152)
HSLhsl(226, 67%, 36%)
HSVhsv(226, 80%, 60%)
CMYKcmyk(80.3%, 61.8%, 0%, 40.4%)
CIE-LABlab(28.30, 25.55, -54.30)
CIE-LCHlch(28.30, 60.01, 295.20°)
OKLaboklab(39.15% -0.0103 -0.157)
OKLCHoklch(39.15% 0.157 266.3)
XYZxyz(7.7140, 5.5682, 30.3679)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3A98 #987C1E
analogous
#1E7798 #1E3A98 #3F1E98
triadic
#1E3A98 #981E3A #3A981E
tetradic
#1E3A98 #981E77 #987C1E #1E983F
square
#1E3A98 #981E77 #987C1E #1E983F
split-complementary
#1E3A98 #983F1E #77981E
monochromatic
#0A1332 #142665 #1E3A98 #284ECB #5373DD

Accessibility & contrast

On white

9.93
#1E3A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1E3A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3A98
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3A98#FFFFFF#000000##FFFFFF
##1E3A981.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499B
Deuteranopia (green-blind)
#003D96
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1e3a98;
/* rgb */ color: rgb(30, 58, 152);
/* oklch */ color: oklch(39.2% 0.157 266.3);
Tailwind
colors: {
  custom: {
    50: '#6f6fb7',
    500: '#1e3a98',
    950: '#000000',
  },
}
SCSS
$custom: #1e3a98;
$custom-light: #6f6fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3a98",
  "rgb": {
    "r": 30,
    "g": 58,
    "b": 152
  },
  "hsl": {
    "h": 226.23,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39152,
    "c": 0.15734,
    "h": 266.3
  },
  "luminance": 0.05569
}

Semantic roles & 50–950 ramp

primary
#1E3A98
secondary
#C0A751
accent
#C23EEA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #1E3A98

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

Preview Lab → · Contrast checker → · Palette generator →

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