#1E3D98#1E3D98

#1E3D98 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.154 H 265.4°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#1E3D98
RGBrgb(30, 61, 152)
HSLhsl(225, 67%, 36%)
HSVhsv(225, 80%, 60%)
CMYKcmyk(80.3%, 59.9%, 0%, 40.4%)
CIE-LABlab(29.11, 23.50, -52.98)
CIE-LCHlch(29.11, 57.95, 293.92°)
OKLaboklab(39.76% -0.0122 -0.1531)
OKLCHoklch(39.76% 0.154 265.4)
XYZxyz(7.8697, 5.8796, 30.4198)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3D98 #98791E
analogous
#1E7A98 #1E3D98 #3C1E98
triadic
#1E3D98 #981E3D #3D981E
tetradic
#1E3D98 #981E7A #98791E #1E983C
square
#1E3D98 #981E7A #98791E #1E983C
split-complementary
#1E3D98 #983C1E #7A981E
monochromatic
#0A1432 #142865 #1E3D98 #2852CB #5376DD

Accessibility & contrast

On white

9.65
#1E3D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1E3D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3D98
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3D98#FFFFFF#000000##FFFFFF
##1E3D981.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#003F96
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1e3d98;
/* rgb */ color: rgb(30, 61, 152);
/* oklch */ color: oklch(39.8% 0.154 265.4);
Tailwind
colors: {
  custom: {
    50: '#6f72b7',
    500: '#1e3d98',
    950: '#000000',
  },
}
SCSS
$custom: #1e3d98;
$custom-light: #6f72b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3d98",
  "rgb": {
    "r": 30,
    "g": 61,
    "b": 152
  },
  "hsl": {
    "h": 224.754,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39757,
    "c": 0.15357,
    "h": 265.4
  },
  "luminance": 0.05881
}

Semantic roles & 50–950 ramp

primary
#1E3D98
secondary
#C0A451
accent
#BE3EEA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #1E3D98

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

Preview Lab → · Contrast checker → · Palette generator →

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