#1E2A87#1E2A87

#1E2A87 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.154 H 270.1°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#1E2A87
RGBrgb(30, 42, 135)
HSLhsl(233, 64%, 32%)
HSVhsv(233, 78%, 53%)
CMYKcmyk(77.8%, 68.9%, 0%, 47.1%)
CIE-LABlab(22.59, 29.79, -53.14)
CIE-LCHlch(22.59, 60.92, 299.28°)
OKLaboklab(34.47% 0.0002 -0.1538)
OKLCHoklch(34.47% 0.154 270.1)
XYZxyz(5.7351, 3.6806, 23.3251)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A87 #877B1E
analogous
#1E5E87 #1E2A87 #471E87
triadic
#1E2A87 #871E2A #2A871E
tetradic
#1E2A87 #871E5E #877B1E #1E8747
square
#1E2A87 #871E5E #877B1E #1E8747
split-complementary
#1E2A87 #87471E #5E871E
monochromatic
#080B23 #131A55 #1E2A87 #293AB9 #4959D7

Accessibility & contrast

On white

12.10
#1E2A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1E2A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A87
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A87#FFFFFF#000000##FFFFFF
##1E2A871.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8A
Deuteranopia (green-blind)
#003185
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e2a87;
/* rgb */ color: rgb(30, 42, 135);
/* oklch */ color: oklch(34.5% 0.154 270.1);
Tailwind
colors: {
  custom: {
    50: '#6c63ab',
    500: '#1e2a87',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a87;
$custom-light: #6c63ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a87",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 233.143,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34465,
    "c": 0.15377,
    "h": 270.1
  },
  "luminance": 0.03681
}

Semantic roles & 50–950 ramp

primary
#1E2A87
secondary
#B9AC48
accent
#D441E7
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E2A87

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

Preview Lab → · Contrast checker → · Palette generator →

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