#1B1367#1B1367

#1B1367 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.0% C 0.137 H 276.2°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#1B1367
RGBrgb(27, 19, 103)
HSLhsl(246, 69%, 24%)
HSVhsv(246, 82%, 40%)
CMYKcmyk(73.8%, 81.6%, 0%, 59.6%)
CIE-LABlab(13.70, 32.30, -47.25)
CIE-LCHlch(13.70, 57.24, 304.36°)
OKLaboklab(27.01% 0.0149 -0.1366)
OKLCHoklch(27.01% 0.137 276.2)
XYZxyz(3.1322, 1.6777, 12.9881)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1367 #5F6713
analogous
#133567 #1B1367 #451367
triadic
#1B1367 #671B13 #13671B
tetradic
#1B1367 #671335 #5F6713 #136745
square
#1B1367 #671335 #5F6713 #136745
split-complementary
#1B1367 #674513 #356713
monochromatic
#07051A #0D0933 #1B1367 #291D9B #3626CE

Accessibility & contrast

On white

15.72
#1B1367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#1B1367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1367
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1367#FFFFFF#000000##FFFFFF
##1B13671.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002669
Deuteranopia (green-blind)
#001F66
Tritanopia (blue-blind)
#002C3C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1b1367;
/* rgb */ color: rgb(27, 19, 103);
/* oklch */ color: oklch(27.0% 0.137 276.2);
Tailwind
colors: {
  custom: {
    50: '#655393',
    500: '#1b1367',
    950: '#000000',
  },
}
SCSS
$custom: #1b1367;
$custom-light: #655393;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1367",
  "rgb": {
    "r": 27,
    "g": 19,
    "b": 103
  },
  "hsl": {
    "h": 245.714,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27014,
    "c": 0.1374,
    "h": 276.2
  },
  "luminance": 0.01678
}

Semantic roles & 50–950 ramp

primary
#1B1367
secondary
#959E37
accent
#EC3CDB
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1B1367

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

Preview Lab → · Contrast checker → · Palette generator →

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