#1B1473#1B1473

#1B1473 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.152 H 274.2°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#1B1473
RGBrgb(27, 20, 115)
HSLhsl(244, 70%, 26%)
HSVhsv(244, 83%, 45%)
CMYKcmyk(76.5%, 82.6%, 0%, 54.9%)
CIE-LABlab(15.33, 35.85, -52.38)
CIE-LCHlch(15.33, 63.48, 304.39°)
OKLaboklab(28.58% 0.0112 -0.1515)
OKLCHoklch(28.58% 0.152 274.2)
XYZxyz(3.7956, 1.9707, 16.3967)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1473 #6C7314
analogous
#143D73 #1B1473 #4B1473
triadic
#1B1473 #731B14 #14731B
tetradic
#1B1473 #73143D #6C7314 #14734B
square
#1B1473 #73143D #6C7314 #14734B
split-complementary
#1B1473 #734B14 #3D7314
monochromatic
#06051A #0F0B3F #1B1473 #271DA7 #3528DA

Accessibility & contrast

On white

15.06
#1B1473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B1473
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1473#FFFFFF#000000##FFFFFF
##1B14731.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B76
Deuteranopia (green-blind)
#002271
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1b1473;
/* rgb */ color: rgb(27, 20, 115);
/* oklch */ color: oklch(28.6% 0.152 274.2);
Tailwind
colors: {
  custom: {
    50: '#68549c',
    500: '#1b1473',
    950: '#000000',
  },
}
SCSS
$custom: #1b1473;
$custom-light: #68549c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1473",
  "rgb": {
    "r": 27,
    "g": 20,
    "b": 115
  },
  "hsl": {
    "h": 244.421,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28583,
    "c": 0.15192,
    "h": 274.2
  },
  "luminance": 0.01971
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B1473

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

Preview Lab → · Contrast checker → · Palette generator →

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