#1A1B59#1A1B59

#1A1B59 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.7% C 0.109 H 275.5°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#1A1B59
RGBrgb(26, 27, 89)
HSLhsl(239, 55%, 23%)
HSVhsv(239, 71%, 35%)
CMYKcmyk(70.8%, 69.7%, 0%, 65.1%)
CIE-LABlab(13.97, 21.87, -37.48)
CIE-LCHlch(13.97, 43.39, 300.26°)
OKLaboklab(26.73% 0.0104 -0.1081)
OKLCHoklch(26.73% 0.109 275.5)
XYZxyz(2.6205, 1.7245, 9.6440)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1B59 #59581A
analogous
#1A3A59 #1A1B59 #391A59
triadic
#1A1B59 #591A1B #1B591A
tetradic
#1A1B59 #591A3A #59581A #1A5939
square
#1A1B59 #591A3A #59581A #1A5939
split-complementary
#1A1B59 #59391A #3A591A
monochromatic
#070718 #0C0D2A #1A1B59 #282988 #3638B8

Accessibility & contrast

On white

15.61
#1A1B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#1A1B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1B59
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1B59#FFFFFF#000000##FFFFFF
##1A1B591.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265B
Deuteranopia (green-blind)
#002158
Tritanopia (blue-blind)
#002B37
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1a1b59;
/* rgb */ color: rgb(26, 27, 89);
/* oklch */ color: oklch(26.7% 0.109 275.5);
Tailwind
colors: {
  custom: {
    50: '#605789',
    500: '#1a1b59',
    950: '#000000',
  },
}
SCSS
$custom: #1a1b59;
$custom-light: #605789;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1b59",
  "rgb": {
    "r": 26,
    "g": 27,
    "b": 89
  },
  "hsl": {
    "h": 239.048,
    "s": 54.783,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26734,
    "c": 0.1086,
    "h": 275.5
  },
  "luminance": 0.01725
}

Semantic roles & 50–950 ramp

primary
#1A1B59
secondary
#8F8E40
accent
#DC4ADE
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #1A1B59

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

Preview Lab → · Contrast checker → · Palette generator →

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