#1E2D87#1E2D87

#1E2D87 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.150 H 269.4°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#1E2D87
RGBrgb(30, 45, 135)
HSLhsl(231, 64%, 32%)
HSVhsv(231, 78%, 53%)
CMYKcmyk(77.8%, 66.7%, 0%, 47.1%)
CIE-LABlab(23.34, 27.78, -51.90)
CIE-LCHlch(23.34, 58.87, 298.16°)
OKLaboklab(35.02% -0.0017 -0.1501)
OKLCHoklch(35.02% 0.15 269.4)
XYZxyz(5.8455, 3.9014, 23.3620)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D87 #87781E
analogous
#1E6187 #1E2D87 #441E87
triadic
#1E2D87 #871E2D #2D871E
tetradic
#1E2D87 #871E61 #87781E #1E8744
square
#1E2D87 #871E61 #87781E #1E8744
split-complementary
#1E2D87 #87441E #61871E
monochromatic
#080C23 #131C55 #1E2D87 #293EB9 #495DD7

Accessibility & contrast

On white

11.80
#1E2D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1E2D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D87
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D87#FFFFFF#000000##FFFFFF
##1E2D871.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8A
Deuteranopia (green-blind)
#003385
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e2d87;
/* rgb */ color: rgb(30, 45, 135);
/* oklch */ color: oklch(35.0% 0.150 269.4);
Tailwind
colors: {
  custom: {
    50: '#6c66ab',
    500: '#1e2d87',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d87;
$custom-light: #6c66ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d87",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 135
  },
  "hsl": {
    "h": 231.429,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35018,
    "c": 0.15013,
    "h": 269.4
  },
  "luminance": 0.03902
}

Semantic roles & 50–950 ramp

primary
#1E2D87
secondary
#B9A948
accent
#CF41E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1E2D87

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

Preview Lab → · Contrast checker → · Palette generator →

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