#1B1472#1B1472

#1B1472 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.5% C 0.151 H 274.4°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#1B1472
RGBrgb(27, 20, 114)
HSLhsl(244, 70%, 26%)
HSVhsv(244, 82%, 45%)
CMYKcmyk(76.3%, 82.5%, 0%, 55.3%)
CIE-LABlab(15.21, 35.51, -51.94)
CIE-LCHlch(15.21, 62.91, 304.36°)
OKLaboklab(28.46% 0.0115 -0.1502)
OKLCHoklch(28.46% 0.151 274.4)
XYZxyz(3.7384, 1.9479, 16.0953)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1472 #6B7214
analogous
#143C72 #1B1472 #4A1472
triadic
#1B1472 #721B14 #14721B
tetradic
#1B1472 #72143C #6B7214 #14724A
square
#1B1472 #72143C #6B7214 #14724A
split-complementary
#1B1472 #724A14 #3C7214
monochromatic
#06051A #0F0B3E #1B1472 #271DA6 #3527D9

Accessibility & contrast

On white

15.11
#1B1472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B1472
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1472#FFFFFF#000000##FFFFFF
##1B14721.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A75
Deuteranopia (green-blind)
#002270
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1b1472;
/* rgb */ color: rgb(27, 20, 114);
/* oklch */ color: oklch(28.5% 0.151 274.4);
Tailwind
colors: {
  custom: {
    50: '#68549c',
    500: '#1b1472',
    950: '#000000',
  },
}
SCSS
$custom: #1b1472;
$custom-light: #68549c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1472",
  "rgb": {
    "r": 27,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 244.468,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28463,
    "c": 0.15066,
    "h": 274.4
  },
  "luminance": 0.01948
}

Semantic roles & 50–950 ramp

primary
#1B1472
secondary
#A0A839
accent
#ED3BE0
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1B1472

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

Preview Lab → · Contrast checker → · Palette generator →

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