#1B1E83#1B1E83

#1B1E83 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.163 H 271.2°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#1B1E83
RGBrgb(27, 30, 131)
HSLhsl(238, 66%, 31%)
HSVhsv(238, 79%, 51%)
CMYKcmyk(79.4%, 77.1%, 0%, 48.6%)
CIE-LABlab(19.22, 35.67, -56.17)
CIE-LCHlch(19.22, 66.54, 302.41°)
OKLaboklab(31.87% 0.0035 -0.1626)
OKLCHoklch(31.87% 0.163 271.2)
XYZxyz(5.0116, 2.7997, 21.7446)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1E83 #83801B
analogous
#1B5283 #1B1E83 #4C1B83
triadic
#1B1E83 #831B1E #1E831B
tetradic
#1B1E83 #831B52 #83801B #1B834C
square
#1B1E83 #831B52 #83801B #1B834C
split-complementary
#1B1E83 #834C1B #52831B
monochromatic
#06071E #111250 #1B1E83 #252AB6 #4145D8

Accessibility & contrast

On white

13.46
#1B1E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1B1E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1E83
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1E83#FFFFFF#000000##FFFFFF
##1B1E831.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003486
Deuteranopia (green-blind)
#002981
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b1e83;
/* rgb */ color: rgb(27, 30, 131);
/* oklch */ color: oklch(31.9% 0.163 271.2);
Tailwind
colors: {
  custom: {
    50: '#6b5ba8',
    500: '#1b1e83',
    950: '#000000',
  },
}
SCSS
$custom: #1b1e83;
$custom-light: #6b5ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1e83",
  "rgb": {
    "r": 27,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 238.269,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31875,
    "c": 0.16269,
    "h": 271.2
  },
  "luminance": 0.028
}

Semantic roles & 50–950 ramp

primary
#1B1E83
secondary
#B6B343
accent
#E43FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1B1E83

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

Preview Lab → · Contrast checker → · Palette generator →

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