#1B1667#1B1667

#1B1667 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.5% C 0.134 H 275.6°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#1B1667
RGBrgb(27, 22, 103)
HSLhsl(244, 65%, 25%)
HSVhsv(244, 79%, 40%)
CMYKcmyk(73.8%, 78.6%, 0%, 59.6%)
CIE-LABlab(14.32, 30.53, -46.22)
CIE-LCHlch(14.32, 55.39, 303.44°)
OKLaboklab(27.45% 0.0132 -0.1336)
OKLCHoklch(27.45% 0.134 275.6)
XYZxyz(3.1863, 1.7858, 13.0061)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1667 #626716
analogous
#163A67 #1B1667 #441667
triadic
#1B1667 #671B16 #16671B
tetradic
#1B1667 #67163A #626716 #166744
square
#1B1667 #67163A #626716 #166744
split-complementary
#1B1667 #674416 #3A6716
monochromatic
#070519 #0E0B35 #1B1667 #282199 #352CCC

Accessibility & contrast

On white

15.47
#1B1667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1B1667 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1667
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1667#FFFFFF#000000##FFFFFF
##1B16671.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002869
Deuteranopia (green-blind)
#002166
Tritanopia (blue-blind)
#002D3D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1b1667;
/* rgb */ color: rgb(27, 22, 103);
/* oklch */ color: oklch(27.5% 0.134 275.6);
Tailwind
colors: {
  custom: {
    50: '#655493',
    500: '#1b1667',
    950: '#000000',
  },
}
SCSS
$custom: #1b1667;
$custom-light: #655493;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1667",
  "rgb": {
    "r": 27,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 243.704,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27454,
    "c": 0.13427,
    "h": 275.6
  },
  "luminance": 0.01786
}

Semantic roles & 50–950 ramp

primary
#1B1667
secondary
#989E3B
accent
#E840DD
background
#F6F4F9
surface
#EBE8F1
border
#C6C4CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1B1667

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

Preview Lab → · Contrast checker → · Palette generator →

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