#1A1BB4#1A1BB4

#1A1BB4 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.4% C 0.224 H 268.3°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#1A1BB4
RGBrgb(26, 27, 180)
HSLhsl(240, 75%, 40%)
HSVhsv(240, 86%, 71%)
CMYKcmyk(85.6%, 85%, 0%, 29.4%)
CIE-LABlab(24.63, 53.21, -77.27)
CIE-LCHlch(24.63, 93.82, 304.55°)
OKLaboklab(37.36% -0.0065 -0.2237)
OKLCHoklch(37.36% 0.224 268.3)
XYZxyz(9.0533, 4.2976, 43.5235)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1BB4 #B4B31A
analogous
#1A68B4 #1A1BB4 #661AB4
triadic
#1A1BB4 #B41A1B #1BB41A
tetradic
#1A1BB4 #B41A68 #B4B31A #1AB466
square
#1A1BB4 #B41A68 #B4B31A #1AB466
split-complementary
#1A1BB4 #B4661A #68B41A
monochromatic
#0B0B49 #12137F #1A1BB4 #2B2CE0 #6061E8

Accessibility & contrast

On white

11.29
#1A1BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1A1BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1BB4
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1BB4#FFFFFF#000000##FFFFFF
##1A1BB41.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B8
Deuteranopia (green-blind)
#0032B2
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1a1bb4;
/* rgb */ color: rgb(26, 27, 180);
/* oklch */ color: oklch(37.4% 0.224 268.3);
Tailwind
colors: {
  custom: {
    50: '#785dcc',
    500: '#1a1bb4',
    950: '#000000',
  },
}
SCSS
$custom: #1a1bb4;
$custom-light: #785dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1bb4",
  "rgb": {
    "r": 26,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 239.61,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.37359,
    "c": 0.22378,
    "h": 268.3
  },
  "luminance": 0.04299
}

Semantic roles & 50–950 ramp

primary
#1A1BB4
secondary
#CCCC5D
accent
#F036F1
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0414
muted
#7C7982

Preview Lab

Preview with #1A1BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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