#1E2C88#1E2C88

#1E2C88 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.153 H 269.6°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#1E2C88
RGBrgb(30, 44, 136)
HSLhsl(232, 64%, 33%)
HSVhsv(232, 78%, 53%)
CMYKcmyk(77.9%, 67.6%, 0%, 46.7%)
CIE-LABlab(23.18, 28.84, -52.79)
CIE-LCHlch(23.18, 60.15, 298.65°)
OKLaboklab(34.93% -0.0011 -0.1527)
OKLCHoklch(34.93% 0.153 269.6)
XYZxyz(5.8785, 3.8543, 23.7219)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2C88 #887A1E
analogous
#1E6188 #1E2C88 #451E88
triadic
#1E2C88 #881E2C #2C881E
tetradic
#1E2C88 #881E61 #887A1E #1E8845
square
#1E2C88 #881E61 #887A1E #1E8845
split-complementary
#1E2C88 #88451E #61881E
monochromatic
#080C24 #131C56 #1E2C88 #293CBA #495CD7

Accessibility & contrast

On white

11.86
#1E2C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1E2C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2C88
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2C88#FFFFFF#000000##FFFFFF
##1E2C881.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003286
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e2c88;
/* rgb */ color: rgb(30, 44, 136);
/* oklch */ color: oklch(34.9% 0.153 269.6);
Tailwind
colors: {
  custom: {
    50: '#6c65ac',
    500: '#1e2c88',
    950: '#000000',
  },
}
SCSS
$custom: #1e2c88;
$custom-light: #6c65ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2c88",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 136
  },
  "hsl": {
    "h": 232.075,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34931,
    "c": 0.15272,
    "h": 269.6
  },
  "luminance": 0.03855
}

Semantic roles & 50–950 ramp

primary
#1E2C88
secondary
#B9AA49
accent
#D141E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1E2C88

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

Preview Lab → · Contrast checker → · Palette generator →

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