#1A1B9F#1A1B9F

#1A1B9F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.8% C 0.200 H 269.3°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#1A1B9F
RGBrgb(26, 27, 159)
HSLhsl(240, 72%, 36%)
HSVhsv(240, 84%, 62%)
CMYKcmyk(83.6%, 83%, 0%, 37.6%)
CIE-LABlab(21.97, 46.67, -69.02)
CIE-LCHlch(21.97, 83.32, 304.07°)
OKLaboklab(34.76% -0.0023 -0.1998)
OKLCHoklch(34.76% 0.2 269.3)
XYZxyz(7.0738, 3.5058, 33.0980)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1B9F #9F9E1A
analogous
#1A5E9F #1A1B9F #5C1A9F
triadic
#1A1B9F #9F1A1B #1B9F1A
tetradic
#1A1B9F #9F1A5E #9F9E1A #1A9F5C
square
#1A1B9F #9F1A5E #9F9E1A #1A9F5C
split-complementary
#1A1B9F #9F5C1A #5E9F1A
monochromatic
#090936 #11126A #1A1B9F #2324D4 #5152E3

Accessibility & contrast

On white

12.34
#1A1B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A1B9F
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1B9F#FFFFFF#000000##FFFFFF
##1A1B9F1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a1b9f;
/* rgb */ color: rgb(26, 27, 159);
/* oklch */ color: oklch(34.8% 0.200 269.3);
Tailwind
colors: {
  custom: {
    50: '#735bbd',
    500: '#1a1b9f',
    950: '#000000',
  },
}
SCSS
$custom: #1a1b9f;
$custom-light: #735bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1b9f",
  "rgb": {
    "r": 26,
    "g": 27,
    "b": 159
  },
  "hsl": {
    "h": 239.549,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.34759,
    "c": 0.19985,
    "h": 269.3
  },
  "luminance": 0.03507
}

Semantic roles & 50–950 ramp

primary
#1A1B9F
secondary
#C5C450
accent
#ED39EF
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1A1B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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