#1B1471#1B1471

#1B1471 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.149 H 274.5°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#1B1471
RGBrgb(27, 20, 113)
HSLhsl(245, 70%, 26%)
HSVhsv(245, 82%, 44%)
CMYKcmyk(76.1%, 82.3%, 0%, 55.7%)
CIE-LABlab(15.09, 35.17, -51.49)
CIE-LCHlch(15.09, 62.35, 304.34°)
OKLaboklab(28.34% 0.0117 -0.1489)
OKLCHoklch(28.34% 0.149 274.5)
XYZxyz(3.6818, 1.9252, 15.7971)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1471 #6A7114
analogous
#143B71 #1B1471 #491471
triadic
#1B1471 #711B14 #14711B
tetradic
#1B1471 #71143B #6A7114 #147149
square
#1B1471 #71143B #6A7114 #147149
split-complementary
#1B1471 #714914 #3B7114
monochromatic
#06051A #0F0B3D #1B1471 #271DA5 #3427D9

Accessibility & contrast

On white

15.16
#1B1471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1B1471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1471
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1471#FFFFFF#000000##FFFFFF
##1B14711.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A74
Deuteranopia (green-blind)
#00226F
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1b1471;
/* rgb */ color: rgb(27, 20, 113);
/* oklch */ color: oklch(28.3% 0.149 274.5);
Tailwind
colors: {
  custom: {
    50: '#67549b',
    500: '#1b1471',
    950: '#000000',
  },
}
SCSS
$custom: #1b1471;
$custom-light: #67549b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1471",
  "rgb": {
    "r": 27,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 244.516,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28342,
    "c": 0.14938,
    "h": 274.5
  },
  "luminance": 0.01926
}

Semantic roles & 50–950 ramp

primary
#1B1471
secondary
#9FA739
accent
#ED3BDF
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1B1471

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

Preview Lab → · Contrast checker → · Palette generator →

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