#1E1B8E#1E1B8E

#1E1B8E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.178 H 271.9°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#1E1B8E
RGBrgb(30, 27, 142)
HSLhsl(242, 68%, 33%)
HSVhsv(242, 81%, 56%)
CMYKcmyk(78.9%, 81%, 0%, 44.3%)
CIE-LABlab(20.09, 41.37, -61.63)
CIE-LCHlch(20.09, 74.23, 303.87°)
OKLaboklab(32.91% 0.0059 -0.1784)
OKLCHoklch(32.91% 0.178 271.9)
XYZxyz(5.8082, 3.0122, 25.8613)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1B8E #8B8E1B
analogous
#1B518E #1E1B8E #571B8E
triadic
#1E1B8E #8E1E1B #1B8E1E
tetradic
#1E1B8E #8E1B51 #8B8E1B #1B8E57
square
#1E1B8E #8E1B51 #8B8E1B #1B8E57
split-complementary
#1E1B8E #8E571B #518E1B
monochromatic
#080727 #13115B #1E1B8E #2925C1 #4B47DC

Accessibility & contrast

On white

13.10
#1E1B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1B8E
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1B8E#FFFFFF#000000##FFFFFF
##1E1B8E1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003691
Deuteranopia (green-blind)
#002B8C
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e1b8e;
/* rgb */ color: rgb(30, 27, 142);
/* oklch */ color: oklch(32.9% 0.178 271.9);
Tailwind
colors: {
  custom: {
    50: '#6f5ab0',
    500: '#1e1b8e',
    950: '#000000',
  },
}
SCSS
$custom: #1e1b8e;
$custom-light: #6f5ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1b8e",
  "rgb": {
    "r": 30,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 241.565,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.32912,
    "c": 0.17848,
    "h": 271.9
  },
  "luminance": 0.03013
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E1B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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