#1B1690#1B1690

#1B1690 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.4% C 0.186 H 271.0°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#1B1690
RGBrgb(27, 22, 144)
HSLhsl(242, 73%, 33%)
HSVhsv(242, 85%, 56%)
CMYKcmyk(81.3%, 84.7%, 0%, 43.5%)
CIE-LABlab(19.31, 44.34, -64.18)
CIE-LCHlch(19.31, 78.01, 304.64°)
OKLaboklab(32.39% 0.0032 -0.1857)
OKLCHoklch(32.39% 0.186 271)
XYZxyz(5.7712, 2.8198, 26.6203)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1690 #8B9016
analogous
#164E90 #1B1690 #581690
triadic
#1B1690 #901B16 #16901B
tetradic
#1B1690 #90164E #8B9016 #169058
square
#1B1690 #90164E #8B9016 #169058
split-complementary
#1B1690 #905816 #4E9016
monochromatic
#070626 #110E5B #1B1690 #251EC5 #453FE2

Accessibility & contrast

On white

13.43
#1B1690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1B1690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1690
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1690#FFFFFF#000000##FFFFFF
##1B16901.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003593
Deuteranopia (green-blind)
#00288E
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b1690;
/* rgb */ color: rgb(27, 22, 144);
/* oklch */ color: oklch(32.4% 0.186 271.0);
Tailwind
colors: {
  custom: {
    50: '#6f57b2',
    500: '#1b1690',
    950: '#000000',
  },
}
SCSS
$custom: #1b1690;
$custom-light: #6f57b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1690",
  "rgb": {
    "r": 27,
    "g": 22,
    "b": 144
  },
  "hsl": {
    "h": 242.459,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3239,
    "c": 0.18578,
    "h": 271
  },
  "luminance": 0.0282
}

Semantic roles & 50–950 ramp

primary
#1B1690
secondary
#BCC240
accent
#F038E9
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1B1690

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

Preview Lab → · Contrast checker → · Palette generator →

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