#1E2589#1E2589

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

Color values

HEX#1E2589
RGBrgb(30, 37, 137)
HSLhsl(236, 64%, 33%)
HSVhsv(236, 78%, 54%)
CMYKcmyk(78.1%, 73%, 0%, 46.3%)
CIE-LABlab(21.60, 33.78, -56.02)
CIE-LCHlch(21.60, 65.42, 301.09°)
OKLaboklab(33.81% 0.0027 -0.1622)
OKLCHoklch(33.81% 0.162 271)
XYZxyz(5.7108, 3.4047, 24.0183)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2589 #89821E
analogous
#1E5A89 #1E2589 #4D1E89
triadic
#1E2589 #891E25 #25891E
tetradic
#1E2589 #891E5A #89821E #1E894D
square
#1E2589 #891E5A #89821E #1E894D
split-complementary
#1E2589 #894D1E #5A891E
monochromatic
#080A25 #131757 #1E2589 #2933BB #4A53D7

Accessibility & contrast

On white

12.49
#1E2589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2589
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2589#FFFFFF#000000##FFFFFF
##1E25891.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2589;
/* rgb */ color: rgb(30, 37, 137);
/* oklch */ color: oklch(33.8% 0.162 271.0);
Tailwind
colors: {
  custom: {
    50: '#6d60ac',
    500: '#1e2589',
    950: '#000000',
  },
}
SCSS
$custom: #1e2589;
$custom-light: #6d60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2589",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 236.075,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33811,
    "c": 0.1622,
    "h": 271
  },
  "luminance": 0.03405
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E2589

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

Preview Lab → · Contrast checker → · Palette generator →

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