#1E3D97#1E3D97

#1E3D97 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.152 H 265.4°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#1E3D97
RGBrgb(30, 61, 151)
HSLhsl(225, 67%, 35%)
HSVhsv(225, 80%, 59%)
CMYKcmyk(80.1%, 59.6%, 0%, 40.8%)
CIE-LABlab(29.02, 23.11, -52.50)
CIE-LCHlch(29.02, 57.36, 293.75°)
OKLaboklab(39.67% -0.0123 -0.1517)
OKLCHoklch(39.67% 0.152 265.4)
XYZxyz(7.7881, 5.8470, 29.9903)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3D97 #97781E
analogous
#1E7997 #1E3D97 #3B1E97
triadic
#1E3D97 #971E3D #3D971E
tetradic
#1E3D97 #971E79 #97781E #1E973B
square
#1E3D97 #971E79 #97781E #1E973B
split-complementary
#1E3D97 #973B1E #79971E
monochromatic
#0A1431 #142864 #1E3D97 #2852CA #5376DD

Accessibility & contrast

On white

9.68
#1E3D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1E3D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3D97
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3D97#FFFFFF#000000##FFFFFF
##1E3D971.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1e3d97;
/* rgb */ color: rgb(30, 61, 151);
/* oklch */ color: oklch(39.7% 0.152 265.4);
Tailwind
colors: {
  custom: {
    50: '#6f72b6',
    500: '#1e3d97',
    950: '#000000',
  },
}
SCSS
$custom: #1e3d97;
$custom-light: #6f72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3d97",
  "rgb": {
    "r": 30,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 224.628,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39669,
    "c": 0.15219,
    "h": 265.4
  },
  "luminance": 0.05848
}

Semantic roles & 50–950 ramp

primary
#1E3D97
secondary
#C0A351
accent
#BE3EEA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1E3D97

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

Preview Lab → · Contrast checker → · Palette generator →

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