#1E2C87#1E2C87

#1E2C87 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.151 H 269.6°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#1E2C87
RGBrgb(30, 44, 135)
HSLhsl(232, 64%, 32%)
HSVhsv(232, 78%, 53%)
CMYKcmyk(77.8%, 67.4%, 0%, 47.1%)
CIE-LABlab(23.09, 28.46, -52.32)
CIE-LCHlch(23.09, 59.56, 298.54°)
OKLaboklab(34.83% -0.0011 -0.1514)
OKLCHoklch(34.83% 0.151 269.6)
XYZxyz(5.8078, 3.8260, 23.3494)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2C87 #87791E
analogous
#1E6187 #1E2C87 #451E87
triadic
#1E2C87 #871E2C #2C871E
tetradic
#1E2C87 #871E61 #87791E #1E8745
square
#1E2C87 #871E61 #87791E #1E8745
split-complementary
#1E2C87 #87451E #61871E
monochromatic
#080B23 #131C55 #1E2C87 #293CB9 #495CD7

Accessibility & contrast

On white

11.90
#1E2C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1E2C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2C87
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2C87#FFFFFF#000000##FFFFFF
##1E2C871.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8A
Deuteranopia (green-blind)
#003285
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e2c87;
/* rgb */ color: rgb(30, 44, 135);
/* oklch */ color: oklch(34.8% 0.151 269.6);
Tailwind
colors: {
  custom: {
    50: '#6c65ab',
    500: '#1e2c87',
    950: '#000000',
  },
}
SCSS
$custom: #1e2c87;
$custom-light: #6c65ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2c87",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 232,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34831,
    "c": 0.15135,
    "h": 269.6
  },
  "luminance": 0.03827
}

Semantic roles & 50–950 ramp

primary
#1E2C87
secondary
#B9AA48
accent
#D141E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1E2C87

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

Preview Lab → · Contrast checker → · Palette generator →

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