#1E2688#1E2688

#1E2688 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.160 H 270.8°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#1E2688
RGBrgb(30, 38, 136)
HSLhsl(235, 64%, 33%)
HSVhsv(235, 78%, 53%)
CMYKcmyk(77.9%, 72.1%, 0%, 46.7%)
CIE-LABlab(21.72, 32.78, -55.19)
CIE-LCHlch(21.72, 64.19, 300.71°)
OKLaboklab(33.87% 0.0023 -0.1597)
OKLCHoklch(33.87% 0.16 270.8)
XYZxyz(5.6710, 3.4392, 23.6527)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2688 #88801E
analogous
#1E5B88 #1E2688 #4B1E88
triadic
#1E2688 #881E26 #26881E
tetradic
#1E2688 #881E5B #88801E #1E884B
square
#1E2688 #881E5B #88801E #1E884B
split-complementary
#1E2688 #884B1E #5B881E
monochromatic
#080A24 #131856 #1E2688 #2934BA #4954D7

Accessibility & contrast

On white

12.44
#1E2688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1E2688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2688
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2688#FFFFFF#000000##FFFFFF
##1E26881.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398B
Deuteranopia (green-blind)
#002F86
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2688;
/* rgb */ color: rgb(30, 38, 136);
/* oklch */ color: oklch(33.9% 0.160 270.8);
Tailwind
colors: {
  custom: {
    50: '#6d61ac',
    500: '#1e2688',
    950: '#000000',
  },
}
SCSS
$custom: #1e2688;
$custom-light: #6d61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2688",
  "rgb": {
    "r": 30,
    "g": 38,
    "b": 136
  },
  "hsl": {
    "h": 235.472,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33871,
    "c": 0.15976,
    "h": 270.8
  },
  "luminance": 0.0344
}

Semantic roles & 50–950 ramp

primary
#1E2688
secondary
#B9B149
accent
#DA41E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E2688

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

Preview Lab → · Contrast checker → · Palette generator →

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