#1E1B83#1E1B83

#1E1B83 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.165 H 272.9°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#1E1B83
RGBrgb(30, 27, 131)
HSLhsl(242, 66%, 31%)
HSVhsv(242, 79%, 51%)
CMYKcmyk(77.1%, 79.4%, 0%, 48.6%)
CIE-LABlab(18.79, 37.67, -56.88)
CIE-LCHlch(18.79, 68.22, 303.51°)
OKLaboklab(31.62% 0.0084 -0.1646)
OKLCHoklch(31.62% 0.165 272.9)
XYZxyz(5.0227, 2.6981, 21.7244)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1B83 #80831B
analogous
#1B4C83 #1E1B83 #521B83
triadic
#1E1B83 #831E1B #1B831E
tetradic
#1E1B83 #831B4C #80831B #1B8352
square
#1E1B83 #831B4C #80831B #1B8352
split-complementary
#1E1B83 #83521B #4C831B
monochromatic
#07061E #121150 #1E1B83 #2A25B6 #4541D8

Accessibility & contrast

On white

13.64
#1E1B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1E1B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1B83
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1B83#FFFFFF#000000##FFFFFF
##1E1B831.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003386
Deuteranopia (green-blind)
#002981
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e1b83;
/* rgb */ color: rgb(30, 27, 131);
/* oklch */ color: oklch(31.6% 0.165 272.9);
Tailwind
colors: {
  custom: {
    50: '#6c59a8',
    500: '#1e1b83',
    950: '#000000',
  },
}
SCSS
$custom: #1e1b83;
$custom-light: #6c59a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1b83",
  "rgb": {
    "r": 30,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 241.731,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31619,
    "c": 0.16481,
    "h": 272.9
  },
  "luminance": 0.02699
}

Semantic roles & 50–950 ramp

primary
#1E1B83
secondary
#B3B643
accent
#E93FE4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E1B83

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

Preview Lab → · Contrast checker → · Palette generator →

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