#1E2584#1E2584

#1E2584 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.3% C 0.156 H 271.2°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#1E2584
RGBrgb(30, 37, 132)
HSLhsl(236, 63%, 32%)
HSVhsv(236, 77%, 52%)
CMYKcmyk(77.3%, 72%, 0%, 48.2%)
CIE-LABlab(21.07, 31.95, -53.75)
CIE-LCHlch(21.07, 62.52, 300.73°)
OKLaboklab(33.28% 0.0034 -0.1555)
OKLCHoklch(33.28% 0.156 271.2)
XYZxyz(5.3604, 3.2645, 22.1729)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2584 #847D1E
analogous
#1E5884 #1E2584 #4A1E84
triadic
#1E2584 #841E25 #25841E
tetradic
#1E2584 #841E58 #847D1E #1E844A
square
#1E2584 #841E58 #847D1E #1E844A
split-complementary
#1E2584 #844A1E #58841E
monochromatic
#070920 #131752 #1E2584 #2933B6 #4751D5

Accessibility & contrast

On white

12.70
#1E2584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1E2584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2584
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2584#FFFFFF#000000##FFFFFF
##1E25841.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#002E82
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e2584;
/* rgb */ color: rgb(30, 37, 132);
/* oklch */ color: oklch(33.3% 0.156 271.2);
Tailwind
colors: {
  custom: {
    50: '#6c60a9',
    500: '#1e2584',
    950: '#000000',
  },
}
SCSS
$custom: #1e2584;
$custom-light: #6c60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2584",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 132
  },
  "hsl": {
    "h": 235.882,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33277,
    "c": 0.15558,
    "h": 271.2
  },
  "luminance": 0.03265
}

Semantic roles & 50–950 ramp

primary
#1E2584
secondary
#B7AF47
accent
#DB42E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E2584

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

Preview Lab → · Contrast checker → · Palette generator →

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