#1E1B8B#1E1B8B

#1E1B8B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.175 H 272.2°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#1E1B8B
RGBrgb(30, 27, 139)
HSLhsl(242, 67%, 33%)
HSVhsv(242, 81%, 55%)
CMYKcmyk(78.4%, 80.6%, 0%, 45.5%)
CIE-LABlab(19.73, 40.37, -60.35)
CIE-LCHlch(19.73, 72.61, 303.78°)
OKLaboklab(32.56% 0.0066 -0.1747)
OKLCHoklch(32.56% 0.175 272.2)
XYZxyz(5.5860, 2.9234, 24.6910)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1B8B #888B1B
analogous
#1B508B #1E1B8B #561B8B
triadic
#1E1B8B #8B1E1B #1B8B1E
tetradic
#1E1B8B #8B1B50 #888B1B #1B8B56
square
#1E1B8B #8B1B50 #888B1B #1B8B56
split-complementary
#1E1B8B #8B561B #508B1B
monochromatic
#080725 #131158 #1E1B8B #2925BE #4945DB

Accessibility & contrast

On white

13.25
#1E1B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1B8B
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1B8B#FFFFFF#000000##FFFFFF
##1E1B8B1.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358E
Deuteranopia (green-blind)
#002A89
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e1b8b;
/* rgb */ color: rgb(30, 27, 139);
/* oklch */ color: oklch(32.6% 0.175 272.2);
Tailwind
colors: {
  custom: {
    50: '#6f5aae',
    500: '#1e1b8b',
    950: '#000000',
  },
}
SCSS
$custom: #1e1b8b;
$custom-light: #6f5aae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1b8b",
  "rgb": {
    "r": 30,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 241.607,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32556,
    "c": 0.1748,
    "h": 272.2
  },
  "luminance": 0.02924
}

Semantic roles & 50–950 ramp

primary
#1E1B8B
secondary
#B9BC45
accent
#EA3DE6
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #1E1B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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