#1E2A86#1E2A86

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

Color values

HEX#1E2A86
RGBrgb(30, 42, 134)
HSLhsl(233, 63%, 32%)
HSVhsv(233, 78%, 53%)
CMYKcmyk(77.6%, 68.7%, 0%, 47.5%)
CIE-LABlab(22.49, 29.41, -52.68)
CIE-LCHlch(22.49, 60.33, 299.18°)
OKLaboklab(34.36% 0.0002 -0.1524)
OKLCHoklch(34.36% 0.152 270.1)
XYZxyz(5.6650, 3.6526, 22.9561)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A86 #867A1E
analogous
#1E5E86 #1E2A86 #461E86
triadic
#1E2A86 #861E2A #2A861E
tetradic
#1E2A86 #861E5E #867A1E #1E8646
square
#1E2A86 #861E5E #867A1E #1E8646
split-complementary
#1E2A86 #86461E #5E861E
monochromatic
#080B22 #131A54 #1E2A86 #293AB8 #4859D6

Accessibility & contrast

On white

12.13
#1E2A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1E2A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A86
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A86#FFFFFF#000000##FFFFFF
##1E2A861.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2a86;
/* rgb */ color: rgb(30, 42, 134);
/* oklch */ color: oklch(34.4% 0.152 270.1);
Tailwind
colors: {
  custom: {
    50: '#6c63aa',
    500: '#1e2a86',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a86;
$custom-light: #6c63aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a86",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 233.077,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34364,
    "c": 0.15241,
    "h": 270.1
  },
  "luminance": 0.03653
}

Semantic roles & 50–950 ramp

primary
#1E2A86
secondary
#B8AB47
accent
#D341E6
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E2A86

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

Preview Lab → · Contrast checker → · Palette generator →

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