#1B1373#1B1373

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

Color values

HEX#1B1373
RGBrgb(27, 19, 115)
HSLhsl(245, 72%, 26%)
HSVhsv(245, 83%, 45%)
CMYKcmyk(76.5%, 83.5%, 0%, 54.9%)
CIE-LABlab(15.15, 36.38, -52.69)
CIE-LCHlch(15.15, 64.03, 304.63°)
OKLaboklab(28.46% 0.0116 -0.1524)
OKLCHoklch(28.46% 0.153 274.4)
XYZxyz(3.7784, 1.9362, 16.3909)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1373 #6B7313
analogous
#133B73 #1B1373 #4B1373
triadic
#1B1373 #731B13 #13731B
tetradic
#1B1373 #73133B #6B7313 #13734B
square
#1B1373 #73133B #6B7313 #13734B
split-complementary
#1B1373 #734B13 #3B7313
monochromatic
#06041A #0F0A3E #1B1373 #271CA8 #3525DB

Accessibility & contrast

On white

15.14
#1B1373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B1373
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1373#FFFFFF#000000##FFFFFF
##1B13731.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b1373;
/* rgb */ color: rgb(27, 19, 115);
/* oklch */ color: oklch(28.5% 0.153 274.4);
Tailwind
colors: {
  custom: {
    50: '#68539c',
    500: '#1b1373',
    950: '#000000',
  },
}
SCSS
$custom: #1b1373;
$custom-light: #68539c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1373",
  "rgb": {
    "r": 27,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 245,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28455,
    "c": 0.15282,
    "h": 274.4
  },
  "luminance": 0.01937
}

Semantic roles & 50–950 ramp

primary
#1B1373
secondary
#A0AA38
accent
#EE39DF
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1B1373

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

Preview Lab → · Contrast checker → · Palette generator →

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