#1E2889#1E2889

#1E2889 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.3% C 0.159 H 270.4°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#1E2889
RGBrgb(30, 40, 137)
HSLhsl(234, 64%, 33%)
HSVhsv(234, 78%, 54%)
CMYKcmyk(78.1%, 70.8%, 0%, 46.3%)
CIE-LABlab(22.30, 31.86, -54.87)
CIE-LCHlch(22.30, 63.44, 300.14°)
OKLaboklab(34.32% 0.0011 -0.1588)
OKLCHoklch(34.32% 0.159 270.4)
XYZxyz(5.8080, 3.5991, 24.0507)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2889 #897F1E
analogous
#1E5D89 #1E2889 #4A1E89
triadic
#1E2889 #891E28 #28891E
tetradic
#1E2889 #891E5D #897F1E #1E894A
square
#1E2889 #891E5D #897F1E #1E894A
split-complementary
#1E2889 #894A1E #5D891E
monochromatic
#080B25 #131957 #1E2889 #2937BB #4A57D7

Accessibility & contrast

On white

12.21
#1E2889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1E2889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2889
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2889#FFFFFF#000000##FFFFFF
##1E28891.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e2889;
/* rgb */ color: rgb(30, 40, 137);
/* oklch */ color: oklch(34.3% 0.159 270.4);
Tailwind
colors: {
  custom: {
    50: '#6d62ac',
    500: '#1e2889',
    950: '#000000',
  },
}
SCSS
$custom: #1e2889;
$custom-light: #6d62ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2889",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 234.393,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34317,
    "c": 0.1588,
    "h": 270.4
  },
  "luminance": 0.036
}

Semantic roles & 50–950 ramp

primary
#1E2889
secondary
#BAAF49
accent
#D841E7
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E2889

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

Preview Lab → · Contrast checker → · Palette generator →

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