#1A1BC9#1A1BC9

#1A1BC9 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 40.0% C 0.247 H 267.6°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#1A1BC9
RGBrgb(26, 27, 201)
HSLhsl(240, 77%, 45%)
HSVhsv(240, 87%, 79%)
CMYKcmyk(87.1%, 86.6%, 0%, 21.2%)
CIE-LABlab(27.35, 59.42, -85.17)
CIE-LCHlch(27.35, 103.85, 304.90°)
OKLaboklab(39.99% -0.0105 -0.2465)
OKLCHoklch(39.99% 0.247 267.6)
XYZxyz(11.3569, 5.2191, 55.6558)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1BC9 #C9C81A
analogous
#1A73C9 #1A1BC9 #711AC9
triadic
#1A1BC9 #C91A1B #1BC91A
tetradic
#1A1BC9 #C91A73 #C9C81A #1AC971
square
#1A1BC9 #C91A73 #C9C81A #1AC971
split-complementary
#1A1BC9 #C9711A #73C91A
monochromatic
#0C0C5D #131493 #1A1BC9 #3B3CE6 #7172ED

Accessibility & contrast

On white

10.27
#1A1BC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#1A1BC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1BC9
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1BC9#FFFFFF#000000##FFFFFF
##1A1BC91.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ACE
Deuteranopia (green-blind)
#0037C6
Tritanopia (blue-blind)
#005777
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1a1bc9;
/* rgb */ color: rgb(26, 27, 201);
/* oklch */ color: oklch(40.0% 0.247 267.6);
Tailwind
colors: {
  custom: {
    50: '#7e5fdb',
    500: '#1a1bc9',
    950: '#000000',
  },
}
SCSS
$custom: #1a1bc9;
$custom-light: #7e5fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1bc9",
  "rgb": {
    "r": 26,
    "g": 27,
    "b": 201
  },
  "hsl": {
    "h": 239.657,
    "s": 77.093,
    "l": 44.51
  },
  "oklch": {
    "l": 0.39989,
    "c": 0.24672,
    "h": 267.6
  },
  "luminance": 0.05221
}

Semantic roles & 50–950 ramp

primary
#1A1BC9
secondary
#D3D26C
accent
#F334F4
background
#F8F5FD
surface
#F0EAFB
border
#CBC6D4
text
#0C0515
muted
#7D7983

Preview Lab

Preview with #1A1BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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