#1B1590#1B1590

#1B1590 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.187 H 271.1°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#1B1590
RGBrgb(27, 21, 144)
HSLhsl(243, 75%, 32%)
HSVhsv(243, 85%, 56%)
CMYKcmyk(81.3%, 85.4%, 0%, 43.5%)
CIE-LABlab(19.15, 44.80, -64.45)
CIE-LCHlch(19.15, 78.49, 304.81°)
OKLaboklab(32.28% 0.0034 -0.1865)
OKLCHoklch(32.28% 0.187 271.1)
XYZxyz(5.7525, 2.7823, 26.6140)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1590 #8A9015
analogous
#154C90 #1B1590 #591590
triadic
#1B1590 #901B15 #15901B
tetradic
#1B1590 #90154C #8A9015 #159059
square
#1B1590 #90154C #8A9015 #159059
split-complementary
#1B1590 #905915 #4C9015
monochromatic
#070525 #110D5B #1B1590 #251DC5 #453DE3

Accessibility & contrast

On white

13.49
#1B1590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B1590
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1590#FFFFFF#000000##FFFFFF
##1B15901.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003493
Deuteranopia (green-blind)
#00288E
Tritanopia (blue-blind)
#003D55
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1b1590;
/* rgb */ color: rgb(27, 21, 144);
/* oklch */ color: oklch(32.3% 0.187 271.1);
Tailwind
colors: {
  custom: {
    50: '#7057b2',
    500: '#1b1590',
    950: '#000000',
  },
}
SCSS
$custom: #1b1590;
$custom-light: #7057b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1590",
  "rgb": {
    "r": 27,
    "g": 21,
    "b": 144
  },
  "hsl": {
    "h": 242.927,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32281,
    "c": 0.18651,
    "h": 271.1
  },
  "luminance": 0.02783
}

Semantic roles & 50–950 ramp

primary
#1B1590
secondary
#BCC23E
accent
#F137E8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1B1590

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

Preview Lab → · Contrast checker → · Palette generator →

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