#1E2989#1E2989

#1E2989 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.158 H 270.2°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#1E2989
RGBrgb(30, 41, 137)
HSLhsl(234, 64%, 33%)
HSVhsv(234, 78%, 54%)
CMYKcmyk(78.1%, 70.1%, 0%, 46.3%)
CIE-LABlab(22.54, 31.20, -54.47)
CIE-LCHlch(22.54, 62.77, 299.81°)
OKLaboklab(34.49% 0.0006 -0.1577)
OKLCHoklch(34.49% 0.158 270.2)
XYZxyz(5.8422, 3.6674, 24.0620)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2989 #897E1E
analogous
#1E5E89 #1E2989 #491E89
triadic
#1E2989 #891E29 #29891E
tetradic
#1E2989 #891E5E #897E1E #1E8949
square
#1E2989 #891E5E #897E1E #1E8949
split-complementary
#1E2989 #89491E #5E891E
monochromatic
#080B25 #131A57 #1E2989 #2938BB #4A59D7

Accessibility & contrast

On white

12.11
#1E2989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1E2989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2989
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2989#FFFFFF#000000##FFFFFF
##1E29891.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003187
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e2989;
/* rgb */ color: rgb(30, 41, 137);
/* oklch */ color: oklch(34.5% 0.158 270.2);
Tailwind
colors: {
  custom: {
    50: '#6d63ac',
    500: '#1e2989',
    950: '#000000',
  },
}
SCSS
$custom: #1e2989;
$custom-light: #6d63ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2989",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 233.832,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34492,
    "c": 0.15765,
    "h": 270.2
  },
  "luminance": 0.03668
}

Semantic roles & 50–950 ramp

primary
#1E2989
secondary
#BAAE49
accent
#D641E7
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E2989

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

Preview Lab → · Contrast checker → · Palette generator →

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