#1A1B8D#1A1B8D

#1A1B8D is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.178 H 270.5°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#1A1B8D
RGBrgb(26, 27, 141)
HSLhsl(239, 69%, 33%)
HSVhsv(239, 82%, 55%)
CMYKcmyk(81.6%, 80.9%, 0%, 44.7%)
CIE-LABlab(19.74, 40.77, -61.59)
CIE-LCHlch(19.74, 73.86, 303.50°)
OKLaboklab(32.57% 0.0015 -0.1783)
OKLCHoklch(32.57% 0.178 270.5)
XYZxyz(5.6240, 2.9259, 25.4625)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1B8D #8D8C1A
analogous
#1A558D #1A1B8D #521A8D
triadic
#1A1B8D #8D1A1B #1B8D1A
tetradic
#1A1B8D #8D1A55 #8D8C1A #1A8D52
square
#1A1B8D #8D1A55 #8D8C1A #1A8D52
split-complementary
#1A1B8D #8D521A #558D1A
monochromatic
#070726 #101159 #1A1B8D #2425C1 #4546DD

Accessibility & contrast

On white

13.25
#1A1B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1A1B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1B8D
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1B8D#FFFFFF#000000##FFFFFF
##1A1B8D1.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003590
Deuteranopia (green-blind)
#002A8B
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a1b8d;
/* rgb */ color: rgb(26, 27, 141);
/* oklch */ color: oklch(32.6% 0.178 270.5);
Tailwind
colors: {
  custom: {
    50: '#6e5ab0',
    500: '#1a1b8d',
    950: '#000000',
  },
}
SCSS
$custom: #1a1b8d;
$custom-light: #6e5ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1b8d",
  "rgb": {
    "r": 26,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 239.478,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.32571,
    "c": 0.17835,
    "h": 270.5
  },
  "luminance": 0.02927
}

Semantic roles & 50–950 ramp

primary
#1A1B8D
secondary
#BEBD45
accent
#EA3CEC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1A1B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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