#1E2389#1E2389

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

Color values

HEX#1E2389
RGBrgb(30, 35, 137)
HSLhsl(237, 64%, 33%)
HSVhsv(237, 78%, 54%)
CMYKcmyk(78.1%, 74.5%, 0%, 46.3%)
CIE-LABlab(21.15, 35.03, -56.77)
CIE-LCHlch(21.15, 66.70, 301.68°)
OKLaboklab(33.49% 0.0037 -0.1643)
OKLCHoklch(33.49% 0.164 271.3)
XYZxyz(5.6503, 3.2836, 23.9981)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2389 #89841E
analogous
#1E5989 #1E2389 #4E1E89
triadic
#1E2389 #891E23 #23891E
tetradic
#1E2389 #891E59 #89841E #1E894E
square
#1E2389 #891E59 #89841E #1E894E
split-complementary
#1E2389 #894E1E #59891E
monochromatic
#080925 #131657 #1E2389 #2930BB #4A51D7

Accessibility & contrast

On white

12.68
#1E2389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2389
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2389#FFFFFF#000000##FFFFFF
##1E23891.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2389;
/* rgb */ color: rgb(30, 35, 137);
/* oklch */ color: oklch(33.5% 0.164 271.3);
Tailwind
colors: {
  custom: {
    50: '#6d5fad',
    500: '#1e2389',
    950: '#000000',
  },
}
SCSS
$custom: #1e2389;
$custom-light: #6d5fad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2389",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 237.196,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33488,
    "c": 0.16437,
    "h": 271.3
  },
  "luminance": 0.03284
}

Semantic roles & 50–950 ramp

primary
#1E2389
secondary
#BAB449
accent
#DF41E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E2389

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

Preview Lab → · Contrast checker → · Palette generator →

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