#1E3E98#1E3E98

#1E3E98 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.152 H 265.1°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#1E3E98
RGBrgb(30, 62, 152)
HSLhsl(224, 67%, 36%)
HSVhsv(224, 80%, 60%)
CMYKcmyk(80.3%, 59.2%, 0%, 40.4%)
CIE-LABlab(29.38, 22.82, -52.53)
CIE-LCHlch(29.38, 57.27, 293.48°)
OKLaboklab(39.96% -0.0129 -0.1517)
OKLCHoklch(39.96% 0.152 265.1)
XYZxyz(7.9235, 5.9873, 30.4377)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3E98 #98781E
analogous
#1E7B98 #1E3E98 #3B1E98
triadic
#1E3E98 #981E3E #3E981E
tetradic
#1E3E98 #981E7B #98781E #1E983B
square
#1E3E98 #981E7B #98781E #1E983B
split-complementary
#1E3E98 #983B1E #7B981E
monochromatic
#0A1432 #142965 #1E3E98 #2853CB #5377DD

Accessibility & contrast

On white

9.56
#1E3E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#1E3E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3E98
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3E98#FFFFFF#000000##FFFFFF
##1E3E981.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#004096
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1e3e98;
/* rgb */ color: rgb(30, 62, 152);
/* oklch */ color: oklch(40.0% 0.152 265.1);
Tailwind
colors: {
  custom: {
    50: '#6f72b7',
    500: '#1e3e98',
    950: '#000000',
  },
}
SCSS
$custom: #1e3e98;
$custom-light: #6f72b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3e98",
  "rgb": {
    "r": 30,
    "g": 62,
    "b": 152
  },
  "hsl": {
    "h": 224.262,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39962,
    "c": 0.1523,
    "h": 265.1
  },
  "luminance": 0.05988
}

Semantic roles & 50–950 ramp

primary
#1E3E98
secondary
#C0A351
accent
#BD3EEA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #1E3E98

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

Preview Lab → · Contrast checker → · Palette generator →

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