#1E2489#1E2489

#1E2489 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.163 H 271.1°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#1E2489
RGBrgb(30, 36, 137)
HSLhsl(237, 64%, 33%)
HSVhsv(237, 78%, 54%)
CMYKcmyk(78.1%, 73.7%, 0%, 46.3%)
CIE-LABlab(21.37, 34.41, -56.40)
CIE-LCHlch(21.37, 66.06, 301.39°)
OKLaboklab(33.65% 0.0032 -0.1633)
OKLCHoklch(33.65% 0.163 271.1)
XYZxyz(5.6801, 3.3433, 24.0080)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2489 #89831E
analogous
#1E5989 #1E2489 #4E1E89
triadic
#1E2489 #891E24 #24891E
tetradic
#1E2489 #891E59 #89831E #1E894E
square
#1E2489 #891E59 #89831E #1E894E
split-complementary
#1E2489 #894E1E #59891E
monochromatic
#080A25 #131757 #1E2489 #2931BB #4A52D7

Accessibility & contrast

On white

12.58
#1E2489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1E2489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2489
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2489#FFFFFF#000000##FFFFFF
##1E24891.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#002E87
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e2489;
/* rgb */ color: rgb(30, 36, 137);
/* oklch */ color: oklch(33.6% 0.163 271.1);
Tailwind
colors: {
  custom: {
    50: '#6d5fad',
    500: '#1e2489',
    950: '#000000',
  },
}
SCSS
$custom: #1e2489;
$custom-light: #6d5fad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2489",
  "rgb": {
    "r": 30,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 236.636,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33648,
    "c": 0.16329,
    "h": 271.1
  },
  "luminance": 0.03344
}

Semantic roles & 50–950 ramp

primary
#1E2489
secondary
#BAB349
accent
#DE41E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E2489

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

Preview Lab → · Contrast checker → · Palette generator →

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