#1E3985#1E3985

#1E3985 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.3% C 0.132 H 265.5°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#1E3985
RGBrgb(30, 57, 133)
HSLhsl(224, 63%, 32%)
HSVhsv(224, 77%, 52%)
CMYKcmyk(77.4%, 57.1%, 0%, 47.8%)
CIE-LABlab(26.43, 18.70, -45.61)
CIE-LCHlch(26.43, 49.29, 292.30°)
OKLaboklab(37.26% -0.0103 -0.1315)
OKLCHoklch(37.26% 0.132 265.5)
XYZxyz(6.2307, 4.8950, 22.8022)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3985 #856A1E
analogous
#1E6D85 #1E3985 #371E85
triadic
#1E3985 #851E39 #39851E
tetradic
#1E3985 #851E6D #856A1E #1E8537
square
#1E3985 #851E6D #856A1E #1E8537
split-complementary
#1E3985 #85371E #6D851E
monochromatic
#070E21 #132453 #1E3985 #294EB7 #486DD6

Accessibility & contrast

On white

10.61
#1E3985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1E3985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3985
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3985#FFFFFF#000000##FFFFFF
##1E39851.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1e3985;
/* rgb */ color: rgb(30, 57, 133);
/* oklch */ color: oklch(37.3% 0.132 265.5);
Tailwind
colors: {
  custom: {
    50: '#6a6ea9',
    500: '#1e3985',
    950: '#000000',
  },
}
SCSS
$custom: #1e3985;
$custom-light: #6a6ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3985",
  "rgb": {
    "r": 30,
    "g": 57,
    "b": 133
  },
  "hsl": {
    "h": 224.272,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37263,
    "c": 0.1319,
    "h": 265.5
  },
  "luminance": 0.04896
}

Semantic roles & 50–950 ramp

primary
#1E3985
secondary
#B89A47
accent
#BB42E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1E3985

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

Preview Lab → · Contrast checker → · Palette generator →

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