#1E1E88#1E1E88

#1E1E88 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.168 H 272.1°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#1E1E88
RGBrgb(30, 30, 136)
HSLhsl(240, 64%, 33%)
HSVhsv(240, 78%, 53%)
CMYKcmyk(77.9%, 77.9%, 0%, 46.7%)
CIE-LABlab(19.97, 37.67, -58.08)
CIE-LCHlch(19.97, 69.23, 302.97°)
OKLaboklab(32.62% 0.0061 -0.1681)
OKLCHoklch(32.62% 0.168 272.1)
XYZxyz(5.4421, 2.9816, 23.5765)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1E88 #88881E
analogous
#1E5388 #1E1E88 #531E88
triadic
#1E1E88 #881E1E #1E881E
tetradic
#1E1E88 #881E53 #88881E #1E8853
square
#1E1E88 #881E53 #88881E #1E8853
split-complementary
#1E1E88 #88531E #53881E
monochromatic
#080824 #131356 #1E1E88 #2929BA #4949D7

Accessibility & contrast

On white

13.15
#1E1E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1E1E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1E88
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1E88#FFFFFF#000000##FFFFFF
##1E1E881.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358B
Deuteranopia (green-blind)
#002B86
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e1e88;
/* rgb */ color: rgb(30, 30, 136);
/* oklch */ color: oklch(32.6% 0.168 272.1);
Tailwind
colors: {
  custom: {
    50: '#6d5cac',
    500: '#1e1e88',
    950: '#000000',
  },
}
SCSS
$custom: #1e1e88;
$custom-light: #6d5cac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1e88",
  "rgb": {
    "r": 30,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 240,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32619,
    "c": 0.16823,
    "h": 272.1
  },
  "luminance": 0.02982
}

Semantic roles & 50–950 ramp

primary
#1E1E88
secondary
#B9B949
accent
#E741E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E1E88

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

Preview Lab → · Contrast checker → · Palette generator →

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