#1E3F87#1E3F87

#1E3F87 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.7% C 0.127 H 263.2°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#1E3F87
RGBrgb(30, 63, 135)
HSLhsl(221, 64%, 32%)
HSVhsv(221, 78%, 53%)
CMYKcmyk(77.8%, 53.3%, 0%, 47.1%)
CIE-LABlab(28.33, 15.33, -43.78)
CIE-LCHlch(28.33, 46.39, 289.29°)
OKLaboklab(38.74% -0.015 -0.126)
OKLCHoklch(38.74% 0.127 263.2)
XYZxyz(6.6845, 5.5796, 23.6416)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3F87 #87661E
analogous
#1E7387 #1E3F87 #321E87
triadic
#1E3F87 #871E3F #3F871E
tetradic
#1E3F87 #871E73 #87661E #1E8732
square
#1E3F87 #871E73 #87661E #1E8732
split-complementary
#1E3F87 #87321E #73871E
monochromatic
#081023 #132855 #1E3F87 #2956B9 #4975D7

Accessibility & contrast

On white

9.92
#1E3F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1E3F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3F87
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3F87#FFFFFF#000000##FFFFFF
##1E3F871.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F488A
Deuteranopia (green-blind)
#003E86
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1e3f87;
/* rgb */ color: rgb(30, 63, 135);
/* oklch */ color: oklch(38.7% 0.127 263.2);
Tailwind
colors: {
  custom: {
    50: '#6a73aa',
    500: '#1e3f87',
    950: '#000000',
  },
}
SCSS
$custom: #1e3f87;
$custom-light: #6a73aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3f87",
  "rgb": {
    "r": 30,
    "g": 63,
    "b": 135
  },
  "hsl": {
    "h": 221.143,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38744,
    "c": 0.12691,
    "h": 263.2
  },
  "luminance": 0.0558
}

Semantic roles & 50–950 ramp

primary
#1E3F87
secondary
#B99548
accent
#B341E7
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1E3F87

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

Preview Lab → · Contrast checker → · Palette generator →

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