#1E3F97#1E3F97

#1E3F97 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.1% C 0.150 H 264.8°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#1E3F97
RGBrgb(30, 63, 151)
HSLhsl(224, 67%, 35%)
HSVhsv(224, 80%, 59%)
CMYKcmyk(80.1%, 58.3%, 0%, 40.8%)
CIE-LABlab(29.57, 21.73, -51.60)
CIE-LCHlch(29.57, 55.99, 292.84°)
OKLaboklab(40.08% -0.0137 -0.149)
OKLCHoklch(40.08% 0.15 264.8)
XYZxyz(7.8969, 6.0645, 30.0265)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3F97 #97761E
analogous
#1E7C97 #1E3F97 #391E97
triadic
#1E3F97 #971E3F #3F971E
tetradic
#1E3F97 #971E7C #97761E #1E9739
square
#1E3F97 #971E7C #97761E #1E9739
split-complementary
#1E3F97 #97391E #7C971E
monochromatic
#0A1431 #142A64 #1E3F97 #2854CA #5378DD

Accessibility & contrast

On white

9.49
#1E3F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1E3F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3F97
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3F97#FFFFFF#000000##FFFFFF
##1E3F971.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1e3f97;
/* rgb */ color: rgb(30, 63, 151);
/* oklch */ color: oklch(40.1% 0.150 264.8);
Tailwind
colors: {
  custom: {
    50: '#6e73b6',
    500: '#1e3f97',
    950: '#000000',
  },
}
SCSS
$custom: #1e3f97;
$custom-light: #6e73b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3f97",
  "rgb": {
    "r": 30,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 223.636,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40082,
    "c": 0.14963,
    "h": 264.8
  },
  "luminance": 0.06065
}

Semantic roles & 50–950 ramp

primary
#1E3F97
secondary
#C0A251
accent
#BB3EEA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1E3F97

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

Preview Lab → · Contrast checker → · Palette generator →

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