#1B1B9E#1B1B9E

#1B1B9E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.7% C 0.198 H 269.7°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#1B1B9E
RGBrgb(27, 27, 158)
HSLhsl(240, 71%, 36%)
HSVhsv(240, 83%, 62%)
CMYKcmyk(82.9%, 82.9%, 0%, 38%)
CIE-LABlab(21.89, 46.40, -68.53)
CIE-LCHlch(21.89, 82.76, 304.10°)
OKLaboklab(34.68% -0.001 -0.1984)
OKLCHoklch(34.68% 0.198 269.7)
XYZxyz(7.0134, 3.4847, 32.6441)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1B9E #9E9E1B
analogous
#1B5D9E #1B1B9E #5D1B9E
triadic
#1B1B9E #9E1B1B #1B9E1B
tetradic
#1B1B9E #9E1B5D #9E9E1B #1B9E5D
square
#1B1B9E #9E1B5D #9E9E1B #1B9E5D
split-complementary
#1B1B9E #9E5D1B #5D9E1B
monochromatic
#090935 #12126A #1B1B9E #2424D2 #5252E1

Accessibility & contrast

On white

12.37
#1B1B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1B1B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1B9E
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1B9E#FFFFFF#000000##FFFFFF
##1B1B9E1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002D9C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b1b9e;
/* rgb */ color: rgb(27, 27, 158);
/* oklch */ color: oklch(34.7% 0.198 269.7);
Tailwind
colors: {
  custom: {
    50: '#735bbc',
    500: '#1b1b9e',
    950: '#000000',
  },
}
SCSS
$custom: #1b1b9e;
$custom-light: #735bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1b9e",
  "rgb": {
    "r": 27,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 240,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.34683,
    "c": 0.19842,
    "h": 269.7
  },
  "luminance": 0.03485
}

Semantic roles & 50–950 ramp

primary
#1B1B9E
secondary
#C4C451
accent
#EE3AEE
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1B1B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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