#1B1A9F#1B1A9F

#1B1A9F is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 34.7% C 0.200 H 269.7°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#1B1A9F
RGBrgb(27, 26, 159)
HSLhsl(240, 72%, 36%)
HSVhsv(240, 84%, 62%)
CMYKcmyk(83%, 83.6%, 0%, 37.6%)
CIE-LABlab(21.85, 47.20, -69.21)
CIE-LCHlch(21.85, 83.77, 304.30°)
OKLaboklab(34.69% -0.001 -0.2003)
OKLCHoklch(34.69% 0.2 269.7)
XYZxyz(7.0773, 3.4742, 33.0917)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1A9F #9E9F1A
analogous
#1A5C9F #1B1A9F #5E1A9F
triadic
#1B1A9F #9F1B1A #1A9F1B
tetradic
#1B1A9F #9F1A5C #9E9F1A #1A9F5E
square
#1B1A9F #9F1A5C #9E9F1A #1A9F5E
split-complementary
#1B1A9F #9F5E1A #5C9F1A
monochromatic
#090936 #12116A #1B1A9F #2423D4 #5251E3

Accessibility & contrast

On white

12.39
#1B1A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B1A9F
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1A9F#FFFFFF#000000##FFFFFF
##1B1A9F1.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b1a9f;
/* rgb */ color: rgb(27, 26, 159);
/* oklch */ color: oklch(34.7% 0.200 269.7);
Tailwind
colors: {
  custom: {
    50: '#735bbd',
    500: '#1b1a9f',
    950: '#000000',
  },
}
SCSS
$custom: #1b1a9f;
$custom-light: #735bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1a9f",
  "rgb": {
    "r": 27,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 240.451,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.34692,
    "c": 0.20035,
    "h": 269.7
  },
  "luminance": 0.03475
}

Semantic roles & 50–950 ramp

primary
#1B1A9F
secondary
#C4C550
accent
#EF39ED
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1B1A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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