#1E2588#1E2588

#1E2588 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.161 H 271.0°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#1E2588
RGBrgb(30, 37, 136)
HSLhsl(236, 64%, 33%)
HSVhsv(236, 78%, 53%)
CMYKcmyk(77.9%, 72.8%, 0%, 46.7%)
CIE-LABlab(21.49, 33.41, -55.57)
CIE-LCHlch(21.49, 64.84, 301.02°)
OKLaboklab(33.7% 0.0028 -0.1609)
OKLCHoklch(33.7% 0.161 271)
XYZxyz(5.6394, 3.3761, 23.6422)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2588 #88811E
analogous
#1E5A88 #1E2588 #4C1E88
triadic
#1E2588 #881E25 #25881E
tetradic
#1E2588 #881E5A #88811E #1E884C
square
#1E2588 #881E5A #88811E #1E884C
split-complementary
#1E2588 #884C1E #5A881E
monochromatic
#080A24 #131756 #1E2588 #2933BA #4953D7

Accessibility & contrast

On white

12.53
#1E2588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1E2588 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2588
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2588#FFFFFF#000000##FFFFFF
##1E25881.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398B
Deuteranopia (green-blind)
#002E86
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2588;
/* rgb */ color: rgb(30, 37, 136);
/* oklch */ color: oklch(33.7% 0.161 271.0);
Tailwind
colors: {
  custom: {
    50: '#6d60ac',
    500: '#1e2588',
    950: '#000000',
  },
}
SCSS
$custom: #1e2588;
$custom-light: #6d60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2588",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 136
  },
  "hsl": {
    "h": 236.038,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33704,
    "c": 0.16088,
    "h": 271
  },
  "luminance": 0.03377
}

Semantic roles & 50–950 ramp

primary
#1E2588
secondary
#B9B249
accent
#DC41E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E2588

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

Preview Lab → · Contrast checker → · Palette generator →

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