#1B1B83#1B1B83

#1B1B83 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.166 H 271.6°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#1B1B83
RGBrgb(27, 27, 131)
HSLhsl(240, 66%, 31%)
HSVhsv(240, 79%, 51%)
CMYKcmyk(79.4%, 79.4%, 0%, 48.6%)
CIE-LABlab(18.61, 37.42, -57.20)
CIE-LCHlch(18.61, 68.35, 303.20°)
OKLaboklab(31.44% 0.0047 -0.1656)
OKLCHoklch(31.44% 0.166 271.6)
XYZxyz(4.9393, 2.6550, 21.7205)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1B83 #83831B
analogous
#1B4F83 #1B1B83 #4F1B83
triadic
#1B1B83 #831B1B #1B831B
tetradic
#1B1B83 #831B4F #83831B #1B834F
square
#1B1B83 #831B4F #83831B #1B834F
split-complementary
#1B1B83 #834F1B #4F831B
monochromatic
#06061E #111150 #1B1B83 #2525B6 #4141D8

Accessibility & contrast

On white

13.71
#1B1B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1B1B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1B83
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1B83#FFFFFF#000000##FFFFFF
##1B1B831.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003286
Deuteranopia (green-blind)
#002881
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1b1b83;
/* rgb */ color: rgb(27, 27, 131);
/* oklch */ color: oklch(31.4% 0.166 271.6);
Tailwind
colors: {
  custom: {
    50: '#6b59a8',
    500: '#1b1b83',
    950: '#000000',
  },
}
SCSS
$custom: #1b1b83;
$custom-light: #6b59a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1b83",
  "rgb": {
    "r": 27,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 240,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31439,
    "c": 0.16565,
    "h": 271.6
  },
  "luminance": 0.02656
}

Semantic roles & 50–950 ramp

primary
#1B1B83
secondary
#B6B643
accent
#E93FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1B1B83

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

Preview Lab → · Contrast checker → · Palette generator →

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