#1E1B8A#1E1B8A

#1E1B8A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.174 H 272.3°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#1E1B8A
RGBrgb(30, 27, 138)
HSLhsl(242, 67%, 32%)
HSVhsv(242, 80%, 54%)
CMYKcmyk(78.3%, 80.4%, 0%, 45.9%)
CIE-LABlab(19.62, 40.04, -59.92)
CIE-LCHlch(19.62, 72.07, 303.75°)
OKLaboklab(32.44% 0.0068 -0.1734)
OKLCHoklch(32.44% 0.174 272.3)
XYZxyz(5.5133, 2.8943, 24.3079)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1B8A #878A1B
analogous
#1B4F8A #1E1B8A #561B8A
triadic
#1E1B8A #8A1E1B #1B8A1E
tetradic
#1E1B8A #8A1B4F #878A1B #1B8A56
square
#1E1B8A #8A1B4F #878A1B #1B8A56
split-complementary
#1E1B8A #8A561B #4F8A1B
monochromatic
#080724 #131157 #1E1B8A #2925BD #4945DB

Accessibility & contrast

On white

13.30
#1E1B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1E1B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1B8A
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1B8A#FFFFFF#000000##FFFFFF
##1E1B8A1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358D
Deuteranopia (green-blind)
#002A88
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e1b8a;
/* rgb */ color: rgb(30, 27, 138);
/* oklch */ color: oklch(32.4% 0.174 272.3);
Tailwind
colors: {
  custom: {
    50: '#6e5aad',
    500: '#1e1b8a',
    950: '#000000',
  },
}
SCSS
$custom: #1e1b8a;
$custom-light: #6e5aad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1b8a",
  "rgb": {
    "r": 30,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 241.622,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32438,
    "c": 0.17356,
    "h": 272.3
  },
  "luminance": 0.02895
}

Semantic roles & 50–950 ramp

primary
#1E1B8A
secondary
#B9BC45
accent
#EA3EE6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #1E1B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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