#1B1167#1B1167

#1B1167 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.7% C 0.139 H 276.6°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#1B1167
RGBrgb(27, 17, 103)
HSLhsl(247, 72%, 24%)
HSVhsv(247, 83%, 40%)
CMYKcmyk(73.8%, 83.5%, 0%, 59.6%)
CIE-LABlab(13.31, 33.42, -47.89)
CIE-LCHlch(13.31, 58.40, 304.91°)
OKLaboklab(26.74% 0.0159 -0.1384)
OKLCHoklch(26.74% 0.139 276.6)
XYZxyz(3.0998, 1.6129, 12.9773)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1167 #5D6711
analogous
#113267 #1B1167 #461167
triadic
#1B1167 #671B11 #11671B
tetradic
#1B1167 #671132 #5D6711 #116746
square
#1B1167 #671132 #5D6711 #116746
split-complementary
#1B1167 #674611 #326711
monochromatic
#07041A #0D0832 #1B1167 #291A9C #3722D0

Accessibility & contrast

On white

15.88
#1B1167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1B1167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1167
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1167#FFFFFF#000000##FFFFFF
##1B11671.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002669
Deuteranopia (green-blind)
#001E66
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1b1167;
/* rgb */ color: rgb(27, 17, 103);
/* oklch */ color: oklch(26.7% 0.139 276.6);
Tailwind
colors: {
  custom: {
    50: '#655193',
    500: '#1b1167',
    950: '#000000',
  },
}
SCSS
$custom: #1b1167;
$custom-light: #655193;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1167",
  "rgb": {
    "r": 27,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 246.977,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26743,
    "c": 0.13934,
    "h": 276.6
  },
  "luminance": 0.01613
}

Semantic roles & 50–950 ramp

primary
#1B1167
secondary
#939F35
accent
#EE39D9
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1B1167

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

Preview Lab → · Contrast checker → · Palette generator →

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