#1E2885#1E2885

#1E2885 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.153 H 270.6°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#1E2885
RGBrgb(30, 40, 133)
HSLhsl(234, 63%, 32%)
HSVhsv(234, 77%, 52%)
CMYKcmyk(77.4%, 69.9%, 0%, 47.8%)
CIE-LABlab(21.90, 30.36, -53.02)
CIE-LCHlch(21.90, 61.10, 299.80°)
OKLaboklab(33.9% 0.0015 -0.1534)
OKLCHoklch(33.9% 0.153 270.6)
XYZxyz(5.5264, 3.4865, 22.5675)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2885 #857B1E
analogous
#1E5C85 #1E2885 #481E85
triadic
#1E2885 #851E28 #28851E
tetradic
#1E2885 #851E5C #857B1E #1E8548
square
#1E2885 #851E5C #857B1E #1E8548
split-complementary
#1E2885 #85481E #5C851E
monochromatic
#070A21 #131953 #1E2885 #2937B7 #4856D6

Accessibility & contrast

On white

12.37
#1E2885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1E2885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2885
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2885#FFFFFF#000000##FFFFFF
##1E28851.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2885;
/* rgb */ color: rgb(30, 40, 133);
/* oklch */ color: oklch(33.9% 0.153 270.6);
Tailwind
colors: {
  custom: {
    50: '#6c62a9',
    500: '#1e2885',
    950: '#000000',
  },
}
SCSS
$custom: #1e2885;
$custom-light: #6c62a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2885",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 133
  },
  "hsl": {
    "h": 234.175,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33903,
    "c": 0.15344,
    "h": 270.6
  },
  "luminance": 0.03487
}

Semantic roles & 50–950 ramp

primary
#1E2885
secondary
#B8AD47
accent
#D642E6
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E2885

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

Preview Lab → · Contrast checker → · Palette generator →

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