#1E2A84#1E2A84

#1E2A84 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.150 H 270.2°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#1E2A84
RGBrgb(30, 42, 132)
HSLhsl(233, 63%, 32%)
HSVhsv(233, 77%, 52%)
CMYKcmyk(77.3%, 68.2%, 0%, 48.2%)
CIE-LABlab(22.29, 28.65, -51.74)
CIE-LCHlch(22.29, 59.15, 298.98°)
OKLaboklab(34.16% 0.0004 -0.1497)
OKLCHoklch(34.16% 0.15 270.2)
XYZxyz(5.5268, 3.5973, 22.2284)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A84 #84781E
analogous
#1E5D84 #1E2A84 #451E84
triadic
#1E2A84 #841E2A #2A841E
tetradic
#1E2A84 #841E5D #84781E #1E8445
square
#1E2A84 #841E5D #84781E #1E8445
split-complementary
#1E2A84 #84451E #5D841E
monochromatic
#070A20 #131A52 #1E2A84 #293AB6 #4758D5

Accessibility & contrast

On white

12.21
#1E2A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1E2A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A84
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A84#FFFFFF#000000##FFFFFF
##1E2A841.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003182
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e2a84;
/* rgb */ color: rgb(30, 42, 132);
/* oklch */ color: oklch(34.2% 0.150 270.2);
Tailwind
colors: {
  custom: {
    50: '#6b63a9',
    500: '#1e2a84',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a84;
$custom-light: #6b63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a84",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 232.941,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34162,
    "c": 0.14967,
    "h": 270.2
  },
  "luminance": 0.03598
}

Semantic roles & 50–950 ramp

primary
#1E2A84
secondary
#B7AA47
accent
#D342E6
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1E2A84

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

Preview Lab → · Contrast checker → · Palette generator →

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