#1A1B79#1A1B79

#1A1B79 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.153 H 272.1°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#1A1B79
RGBrgb(26, 27, 121)
HSLhsl(239, 65%, 29%)
HSVhsv(239, 79%, 47%)
CMYKcmyk(78.5%, 77.7%, 0%, 52.5%)
CIE-LABlab(17.38, 33.82, -52.86)
CIE-LCHlch(17.38, 62.75, 302.62°)
OKLaboklab(30.22% 0.0055 -0.153)
OKLCHoklch(30.22% 0.153 272.1)
XYZxyz(4.2680, 2.3835, 18.3206)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1B79 #79781A
analogous
#1A4B79 #1A1B79 #491A79
triadic
#1A1B79 #791A1B #1B791A
tetradic
#1A1B79 #791A4B #79781A #1A7949
square
#1A1B79 #791A4B #79781A #1A7949
split-complementary
#1A1B79 #79491A #4B791A
monochromatic
#050619 #0F1047 #1A1B79 #2526AB #393BD4

Accessibility & contrast

On white

14.22
#1A1B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1A1B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1B79
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1B79#FFFFFF#000000##FFFFFF
##1A1B791.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7C
Deuteranopia (green-blind)
#002677
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1a1b79;
/* rgb */ color: rgb(26, 27, 121);
/* oklch */ color: oklch(30.2% 0.153 272.1);
Tailwind
colors: {
  custom: {
    50: '#6859a1',
    500: '#1a1b79',
    950: '#000000',
  },
}
SCSS
$custom: #1a1b79;
$custom-light: #6859a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1b79",
  "rgb": {
    "r": 26,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 239.368,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30217,
    "c": 0.1531,
    "h": 272.1
  },
  "luminance": 0.02384
}

Semantic roles & 50–950 ramp

primary
#1A1B79
secondary
#ADAC41
accent
#E640E8
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #1A1B79

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

Preview Lab → · Contrast checker → · Palette generator →

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