#1E2988#1E2988

#1E2988 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.156 H 270.2°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#1E2988
RGBrgb(30, 41, 136)
HSLhsl(234, 64%, 33%)
HSVhsv(234, 78%, 53%)
CMYKcmyk(77.9%, 69.9%, 0%, 46.7%)
CIE-LABlab(22.44, 30.83, -54.01)
CIE-LCHlch(22.44, 62.19, 299.72°)
OKLaboklab(34.39% 0.0007 -0.1563)
OKLCHoklch(34.39% 0.156 270.2)
XYZxyz(5.7708, 3.6388, 23.6860)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2988 #887D1E
analogous
#1E5E88 #1E2988 #481E88
triadic
#1E2988 #881E29 #29881E
tetradic
#1E2988 #881E5E #887D1E #1E8848
square
#1E2988 #881E5E #887D1E #1E8848
split-complementary
#1E2988 #88481E #5E881E
monochromatic
#080B24 #131A56 #1E2988 #2938BA #4958D7

Accessibility & contrast

On white

12.15
#1E2988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2988
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2988#FFFFFF#000000##FFFFFF
##1E29881.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2988;
/* rgb */ color: rgb(30, 41, 136);
/* oklch */ color: oklch(34.4% 0.156 270.2);
Tailwind
colors: {
  custom: {
    50: '#6c63ac',
    500: '#1e2988',
    950: '#000000',
  },
}
SCSS
$custom: #1e2988;
$custom-light: #6c63ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2988",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 136
  },
  "hsl": {
    "h": 233.774,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34389,
    "c": 0.1563,
    "h": 270.2
  },
  "luminance": 0.03639
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E2988

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

Preview Lab → · Contrast checker → · Palette generator →

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