#1E2A89#1E2A89

#1E2A89 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.156 H 270.0°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#1E2A89
RGBrgb(30, 42, 137)
HSLhsl(233, 64%, 33%)
HSVhsv(233, 78%, 54%)
CMYKcmyk(78.1%, 69.3%, 0%, 46.3%)
CIE-LABlab(22.78, 30.55, -54.07)
CIE-LCHlch(22.78, 62.10, 299.47°)
OKLaboklab(34.67% 0 -0.1565)
OKLCHoklch(34.67% 0.156 270)
XYZxyz(5.8772, 3.7374, 24.0737)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A89 #897D1E
analogous
#1E5F89 #1E2A89 #471E89
triadic
#1E2A89 #891E2A #2A891E
tetradic
#1E2A89 #891E5F #897D1E #1E8947
square
#1E2A89 #891E5F #897D1E #1E8947
split-complementary
#1E2A89 #89471E #5F891E
monochromatic
#080B25 #131B57 #1E2A89 #2939BB #4A5AD7

Accessibility & contrast

On white

12.02
#1E2A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1E2A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A89
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A89#FFFFFF#000000##FFFFFF
##1E2A891.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2a89;
/* rgb */ color: rgb(30, 42, 137);
/* oklch */ color: oklch(34.7% 0.156 270.0);
Tailwind
colors: {
  custom: {
    50: '#6d63ac',
    500: '#1e2a89',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a89;
$custom-light: #6d63ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a89",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 233.271,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34669,
    "c": 0.15647,
    "h": 270
  },
  "luminance": 0.03738
}

Semantic roles & 50–950 ramp

primary
#1E2A89
secondary
#BAAD49
accent
#D441E7
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E2A89

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

Preview Lab → · Contrast checker → · Palette generator →

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