#1E3F96#1E3F96

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

Color values

HEX#1E3F96
RGBrgb(30, 63, 150)
HSLhsl(224, 67%, 35%)
HSVhsv(224, 80%, 59%)
CMYKcmyk(80%, 58%, 0%, 41.2%)
CIE-LABlab(29.49, 21.34, -51.13)
CIE-LCHlch(29.49, 55.40, 292.65°)
OKLaboklab(40% -0.0137 -0.1476)
OKLCHoklch(40% 0.148 264.7)
XYZxyz(7.8160, 6.0321, 29.6006)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3F96 #96751E
analogous
#1E7B96 #1E3F96 #391E96
triadic
#1E3F96 #961E3F #3F961E
tetradic
#1E3F96 #961E7B #96751E #1E9639
square
#1E3F96 #961E7B #96751E #1E9639
split-complementary
#1E3F96 #96391E #7B961E
monochromatic
#0A1430 #142A63 #1E3F96 #2854C9 #5278DC

Accessibility & contrast

On white

9.52
#1E3F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E3F96
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3F96#FFFFFF#000000##FFFFFF
##1E3F961.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1e3f96;
/* rgb */ color: rgb(30, 63, 150);
/* oklch */ color: oklch(40.0% 0.148 264.7);
Tailwind
colors: {
  custom: {
    50: '#6e73b6',
    500: '#1e3f96',
    950: '#000000',
  },
}
SCSS
$custom: #1e3f96;
$custom-light: #6e73b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3f96",
  "rgb": {
    "r": 30,
    "g": 63,
    "b": 150
  },
  "hsl": {
    "h": 223.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39996,
    "c": 0.14825,
    "h": 264.7
  },
  "luminance": 0.06033
}

Semantic roles & 50–950 ramp

primary
#1E3F96
secondary
#BFA150
accent
#BA3EEA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1E3F96

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

Preview Lab → · Contrast checker → · Palette generator →

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