#1E2A88#1E2A88

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

Color values

HEX#1E2A88
RGBrgb(30, 42, 136)
HSLhsl(233, 64%, 33%)
HSVhsv(233, 78%, 53%)
CMYKcmyk(77.9%, 69.1%, 0%, 46.7%)
CIE-LABlab(22.68, 30.17, -53.61)
CIE-LCHlch(22.68, 61.51, 299.37°)
OKLaboklab(34.57% 0.0001 -0.1551)
OKLCHoklch(34.57% 0.155 270)
XYZxyz(5.8058, 3.7089, 23.6977)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A88 #887C1E
analogous
#1E5F88 #1E2A88 #471E88
triadic
#1E2A88 #881E2A #2A881E
tetradic
#1E2A88 #881E5F #887C1E #1E8847
square
#1E2A88 #881E5F #887C1E #1E8847
split-complementary
#1E2A88 #88471E #5F881E
monochromatic
#080B24 #131B56 #1E2A88 #2939BA #4959D7

Accessibility & contrast

On white

12.06
#1E2A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1E2A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A88
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A88#FFFFFF#000000##FFFFFF
##1E2A881.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.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: #1e2a88;
/* rgb */ color: rgb(30, 42, 136);
/* oklch */ color: oklch(34.6% 0.155 270.0);
Tailwind
colors: {
  custom: {
    50: '#6c63ac',
    500: '#1e2a88',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a88;
$custom-light: #6c63ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a88",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 233.208,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34567,
    "c": 0.15512,
    "h": 270
  },
  "luminance": 0.0371
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E2A88

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

Preview Lab → · Contrast checker → · Palette generator →

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