#1B1476#1B1476

#1B1476 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.9% C 0.156 H 273.8°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#1B1476
RGBrgb(27, 20, 118)
HSLhsl(244, 71%, 27%)
HSVhsv(244, 83%, 46%)
CMYKcmyk(77.1%, 83.1%, 0%, 53.7%)
CIE-LABlab(15.70, 36.86, -53.71)
CIE-LCHlch(15.70, 65.14, 304.46°)
OKLaboklab(28.95% 0.0104 -0.1554)
OKLCHoklch(28.95% 0.156 273.8)
XYZxyz(3.9711, 2.0409, 17.3207)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1476 #6F7614
analogous
#143E76 #1B1476 #4C1476
triadic
#1B1476 #761B14 #14761B
tetradic
#1B1476 #76143E #6F7614 #14764C
square
#1B1476 #76143E #6F7614 #14764C
split-complementary
#1B1476 #764C14 #3E7614
monochromatic
#06041A #0F0B42 #1B1476 #271DAA #362ADB

Accessibility & contrast

On white

14.91
#1B1476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1B1476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1476
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1476#FFFFFF#000000##FFFFFF
##1B14761.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C79
Deuteranopia (green-blind)
#002274
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1b1476;
/* rgb */ color: rgb(27, 20, 118);
/* oklch */ color: oklch(28.9% 0.156 273.8);
Tailwind
colors: {
  custom: {
    50: '#69549f',
    500: '#1b1476',
    950: '#000000',
  },
}
SCSS
$custom: #1b1476;
$custom-light: #69549f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1476",
  "rgb": {
    "r": 27,
    "g": 20,
    "b": 118
  },
  "hsl": {
    "h": 244.286,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.28947,
    "c": 0.15572,
    "h": 273.8
  },
  "luminance": 0.02041
}

Semantic roles & 50–950 ramp

primary
#1B1476
secondary
#A4AC3A
accent
#EE3AE1
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1B1476

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

Preview Lab → · Contrast checker → · Palette generator →

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