#1E3F86#1E3F86

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

Color values

HEX#1E3F86
RGBrgb(30, 63, 134)
HSLhsl(221, 63%, 32%)
HSVhsv(221, 78%, 53%)
CMYKcmyk(77.6%, 53%, 0%, 47.5%)
CIE-LABlab(28.25, 14.92, -43.28)
CIE-LCHlch(28.25, 45.78, 289.02°)
OKLaboklab(38.66% -0.0151 -0.1245)
OKLCHoklch(38.66% 0.125 263.1)
XYZxyz(6.6145, 5.5515, 23.2726)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3F86 #86651E
analogous
#1E7386 #1E3F86 #311E86
triadic
#1E3F86 #861E3F #3F861E
tetradic
#1E3F86 #861E73 #86651E #1E8631
square
#1E3F86 #861E73 #86651E #1E8631
split-complementary
#1E3F86 #86311E #73861E
monochromatic
#081022 #132754 #1E3F86 #2957B8 #4875D6

Accessibility & contrast

On white

9.95
#1E3F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1E3F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3F86
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3F86#FFFFFF#000000##FFFFFF
##1E3F861.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114889
Deuteranopia (green-blind)
#003E85
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1e3f86;
/* rgb */ color: rgb(30, 63, 134);
/* oklch */ color: oklch(38.7% 0.125 263.1);
Tailwind
colors: {
  custom: {
    50: '#6a73aa',
    500: '#1e3f86',
    950: '#000000',
  },
}
SCSS
$custom: #1e3f86;
$custom-light: #6a73aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3f86",
  "rgb": {
    "r": 30,
    "g": 63,
    "b": 134
  },
  "hsl": {
    "h": 220.962,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38664,
    "c": 0.12546,
    "h": 263.1
  },
  "luminance": 0.05552
}

Semantic roles & 50–950 ramp

primary
#1E3F86
secondary
#B89547
accent
#B241E6
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1E3F86

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

Preview Lab → · Contrast checker → · Palette generator →

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