#1E1B8D#1E1B8D

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

Color values

HEX#1E1B8D
RGBrgb(30, 27, 141)
HSLhsl(242, 68%, 33%)
HSVhsv(242, 81%, 55%)
CMYKcmyk(78.7%, 80.9%, 0%, 44.7%)
CIE-LABlab(19.97, 41.04, -61.20)
CIE-LCHlch(19.97, 73.69, 303.84°)
OKLaboklab(32.79% 0.0062 -0.1771)
OKLCHoklch(32.79% 0.177 272)
XYZxyz(5.7335, 2.9823, 25.4676)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1B8D #8A8D1B
analogous
#1B518D #1E1B8D #571B8D
triadic
#1E1B8D #8D1E1B #1B8D1E
tetradic
#1E1B8D #8D1B51 #8A8D1B #1B8D57
square
#1E1B8D #8D1B51 #8A8D1B #1B8D57
split-complementary
#1E1B8D #8D571B #518D1B
monochromatic
#080726 #13115A #1E1B8D #2925C0 #4B47DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1E1B8D#FFFFFF#000000##FFFFFF
##1E1B8D1.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)
#003690
Deuteranopia (green-blind)
#002A8B
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e1b8d;
/* rgb */ color: rgb(30, 27, 141);
/* oklch */ color: oklch(32.8% 0.177 272.0);
Tailwind
colors: {
  custom: {
    50: '#6f5ab0',
    500: '#1e1b8d',
    950: '#000000',
  },
}
SCSS
$custom: #1e1b8d;
$custom-light: #6f5ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1b8d",
  "rgb": {
    "r": 30,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 241.579,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.32793,
    "c": 0.17726,
    "h": 272
  },
  "luminance": 0.02983
}

Semantic roles & 50–950 ramp

primary
#1E1B8D
secondary
#BABD46
accent
#EB3DE6
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E1B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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