#1B1996#1B1996

#1B1996 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.5% C 0.191 H 270.3°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#1B1996
RGBrgb(27, 25, 150)
HSLhsl(241, 71%, 34%)
HSVhsv(241, 83%, 59%)
CMYKcmyk(82%, 83.3%, 0%, 41.2%)
CIE-LABlab(20.56, 44.81, -65.83)
CIE-LCHlch(20.56, 79.64, 304.24°)
OKLaboklab(33.47% 0.0011 -0.1906)
OKLCHoklch(33.47% 0.191 270.3)
XYZxyz(6.3028, 3.1296, 29.1201)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1996 #949619
analogous
#195696 #1B1996 #5A1996
triadic
#1B1996 #961B19 #19961B
tetradic
#1B1996 #961956 #949619 #19965A
square
#1B1996 #961956 #949619 #19965A
split-complementary
#1B1996 #965A19 #569619
monochromatic
#08082D #121062 #1B1996 #2422CA #4B49E1

Accessibility & contrast

On white

12.92
#1B1996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1B1996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1996
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1996#FFFFFF#000000##FFFFFF
##1B19961.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003899
Deuteranopia (green-blind)
#002B94
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b1996;
/* rgb */ color: rgb(27, 25, 150);
/* oklch */ color: oklch(33.5% 0.191 270.3);
Tailwind
colors: {
  custom: {
    50: '#7159b6',
    500: '#1b1996',
    950: '#000000',
  },
}
SCSS
$custom: #1b1996;
$custom-light: #7159b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1996",
  "rgb": {
    "r": 27,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 240.96,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.33471,
    "c": 0.19057,
    "h": 270.3
  },
  "luminance": 0.0313
}

Semantic roles & 50–950 ramp

primary
#1B1996
secondary
#C0C249
accent
#EE3AEB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1B1996

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

Preview Lab → · Contrast checker → · Palette generator →

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