#1A1589#1A1589

#1A1589 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.178 H 271.3°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#1A1589
RGBrgb(26, 21, 137)
HSLhsl(243, 73%, 31%)
HSVhsv(243, 85%, 54%)
CMYKcmyk(81%, 84.7%, 0%, 46.3%)
CIE-LABlab(18.19, 42.52, -61.66)
CIE-LCHlch(18.19, 74.90, 304.59°)
OKLaboklab(31.35% 0.0039 -0.1784)
OKLCHoklch(31.35% 0.178 271.3)
XYZxyz(5.2080, 2.5615, 23.8820)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1589 #848915
analogous
#154A89 #1A1589 #541589
triadic
#1A1589 #891A15 #15891A
tetradic
#1A1589 #89154A #848915 #158954
square
#1A1589 #89154A #848915 #158954
split-complementary
#1A1589 #895415 #4A8915
monochromatic
#06051F #100D54 #1A1589 #241DBE #3F38E0

Accessibility & contrast

On white

13.89
#1A1589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1A1589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1589
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1589#FFFFFF#000000##FFFFFF
##1A15891.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328C
Deuteranopia (green-blind)
#002687
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a1589;
/* rgb */ color: rgb(26, 21, 137);
/* oklch */ color: oklch(31.3% 0.178 271.3);
Tailwind
colors: {
  custom: {
    50: '#6d56ad',
    500: '#1a1589',
    950: '#000000',
  },
}
SCSS
$custom: #1a1589;
$custom-light: #6d56ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1589",
  "rgb": {
    "r": 26,
    "g": 21,
    "b": 137
  },
  "hsl": {
    "h": 242.586,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31349,
    "c": 0.17847,
    "h": 271.3
  },
  "luminance": 0.02562
}

Semantic roles & 50–950 ramp

primary
#1A1589
secondary
#B8BD3D
accent
#F038E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #1A1589

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

Preview Lab → · Contrast checker → · Palette generator →

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