#1E2487#1E2487

#1E2487 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.161 H 271.2°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#1E2487
RGBrgb(30, 36, 135)
HSLhsl(237, 64%, 32%)
HSVhsv(237, 78%, 53%)
CMYKcmyk(77.8%, 73.3%, 0%, 47.1%)
CIE-LABlab(21.16, 33.68, -55.49)
CIE-LCHlch(21.16, 64.92, 301.26°)
OKLaboklab(33.43% 0.0035 -0.1606)
OKLCHoklch(33.43% 0.161 271.2)
XYZxyz(5.5380, 3.2864, 23.2595)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2487 #87811E
analogous
#1E5987 #1E2487 #4C1E87
triadic
#1E2487 #871E24 #24871E
tetradic
#1E2487 #871E59 #87811E #1E874C
square
#1E2487 #871E59 #87811E #1E874C
split-complementary
#1E2487 #874C1E #59871E
monochromatic
#080923 #131755 #1E2487 #2931B9 #4951D7

Accessibility & contrast

On white

12.67
#1E2487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1E2487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2487
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2487#FFFFFF#000000##FFFFFF
##1E24871.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388A
Deuteranopia (green-blind)
#002E85
Tritanopia (blue-blind)
#004053
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e2487;
/* rgb */ color: rgb(30, 36, 135);
/* oklch */ color: oklch(33.4% 0.161 271.2);
Tailwind
colors: {
  custom: {
    50: '#6d5fab',
    500: '#1e2487',
    950: '#000000',
  },
}
SCSS
$custom: #1e2487;
$custom-light: #6d5fab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2487",
  "rgb": {
    "r": 30,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 236.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33431,
    "c": 0.16068,
    "h": 271.2
  },
  "luminance": 0.03287
}

Semantic roles & 50–950 ramp

primary
#1E2487
secondary
#B9B248
accent
#DD41E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E2487

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

Preview Lab → · Contrast checker → · Palette generator →

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