#1E2488#1E2488

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

Color values

HEX#1E2488
RGBrgb(30, 36, 136)
HSLhsl(237, 64%, 33%)
HSVhsv(237, 78%, 53%)
CMYKcmyk(77.9%, 73.5%, 0%, 46.7%)
CIE-LABlab(21.26, 34.05, -55.95)
CIE-LCHlch(21.26, 65.49, 301.32°)
OKLaboklab(33.54% 0.0033 -0.1619)
OKLCHoklch(33.54% 0.162 271.2)
XYZxyz(5.6087, 3.3147, 23.6320)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2488 #88821E
analogous
#1E5988 #1E2488 #4D1E88
triadic
#1E2488 #881E24 #24881E
tetradic
#1E2488 #881E59 #88821E #1E884D
square
#1E2488 #881E59 #88821E #1E884D
split-complementary
#1E2488 #884D1E #59881E
monochromatic
#080924 #131756 #1E2488 #2931BA #4951D7

Accessibility & contrast

On white

12.63
#1E2488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1E2488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2488
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2488#FFFFFF#000000##FFFFFF
##1E24881.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#002E86
Tritanopia (blue-blind)
#004053
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e2488;
/* rgb */ color: rgb(30, 36, 136);
/* oklch */ color: oklch(33.5% 0.162 271.2);
Tailwind
colors: {
  custom: {
    50: '#6d5fac',
    500: '#1e2488',
    950: '#000000',
  },
}
SCSS
$custom: #1e2488;
$custom-light: #6d5fac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2488",
  "rgb": {
    "r": 30,
    "g": 36,
    "b": 136
  },
  "hsl": {
    "h": 236.604,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3354,
    "c": 0.16198,
    "h": 271.2
  },
  "luminance": 0.03315
}

Semantic roles & 50–950 ramp

primary
#1E2488
secondary
#B9B349
accent
#DD41E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E2488

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

Preview Lab → · Contrast checker → · Palette generator →

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