#1E2D89#1E2D89

#1E2D89 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.153 H 269.3°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#1E2D89
RGBrgb(30, 45, 137)
HSLhsl(232, 64%, 33%)
HSVhsv(232, 78%, 54%)
CMYKcmyk(78.1%, 67.2%, 0%, 46.3%)
CIE-LABlab(23.53, 28.55, -52.84)
CIE-LCHlch(23.53, 60.06, 298.38°)
OKLaboklab(35.22% -0.0018 -0.1529)
OKLCHoklch(35.22% 0.153 269.3)
XYZxyz(5.9876, 3.9583, 24.1105)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D89 #897A1E
analogous
#1E6289 #1E2D89 #451E89
triadic
#1E2D89 #891E2D #2D891E
tetradic
#1E2D89 #891E62 #897A1E #1E8945
square
#1E2D89 #891E62 #897A1E #1E8945
split-complementary
#1E2D89 #89451E #62891E
monochromatic
#080C25 #131D57 #1E2D89 #293DBB #4A5ED7

Accessibility & contrast

On white

11.72
#1E2D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1E2D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D89
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D89#FFFFFF#000000##FFFFFF
##1E2D891.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003387
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e2d89;
/* rgb */ color: rgb(30, 45, 137);
/* oklch */ color: oklch(35.2% 0.153 269.3);
Tailwind
colors: {
  custom: {
    50: '#6c66ac',
    500: '#1e2d89',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d89;
$custom-light: #6c66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d89",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 231.589,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35216,
    "c": 0.15287,
    "h": 269.3
  },
  "luminance": 0.03959
}

Semantic roles & 50–950 ramp

primary
#1E2D89
secondary
#BAAA49
accent
#D041E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1E2D89

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

Preview Lab → · Contrast checker → · Palette generator →

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