#1E2D84#1E2D84

#1E2D84 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.146 H 269.4°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#1E2D84
RGBrgb(30, 45, 132)
HSLhsl(231, 63%, 32%)
HSVhsv(231, 77%, 52%)
CMYKcmyk(77.3%, 65.9%, 0%, 48.2%)
CIE-LABlab(23.06, 26.62, -50.48)
CIE-LCHlch(23.06, 57.07, 297.81°)
OKLaboklab(34.72% -0.0015 -0.146)
OKLCHoklch(34.72% 0.146 269.4)
XYZxyz(5.6372, 3.8181, 22.2652)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D84 #84751E
analogous
#1E6084 #1E2D84 #421E84
triadic
#1E2D84 #841E2D #2D841E
tetradic
#1E2D84 #841E60 #84751E #1E8442
square
#1E2D84 #841E60 #84751E #1E8442
split-complementary
#1E2D84 #84421E #60841E
monochromatic
#070B20 #131C52 #1E2D84 #293EB6 #475CD5

Accessibility & contrast

On white

11.91
#1E2D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1E2D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D84
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D84#FFFFFF#000000##FFFFFF
##1E2D841.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003282
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e2d84;
/* rgb */ color: rgb(30, 45, 132);
/* oklch */ color: oklch(34.7% 0.146 269.4);
Tailwind
colors: {
  custom: {
    50: '#6b65a9',
    500: '#1e2d84',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d84;
$custom-light: #6b65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d84",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 231.176,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34724,
    "c": 0.14598,
    "h": 269.4
  },
  "luminance": 0.03819
}

Semantic roles & 50–950 ramp

primary
#1E2D84
secondary
#B7A647
accent
#CE42E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1E2D84

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

Preview Lab → · Contrast checker → · Palette generator →

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