#1A1D89#1A1D89

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

Color values

HEX#1A1D89
RGBrgb(26, 29, 137)
HSLhsl(238, 68%, 32%)
HSVhsv(238, 81%, 54%)
CMYKcmyk(81%, 78.8%, 0%, 46.3%)
CIE-LABlab(19.65, 38.28, -59.24)
CIE-LCHlch(19.65, 70.53, 302.87°)
OKLaboklab(32.37% 0.0016 -0.1715)
OKLCHoklch(32.37% 0.172 270.5)
XYZxyz(5.3792, 2.9039, 23.9391)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1D89 #89861A
analogous
#1A5589 #1A1D89 #4E1A89
triadic
#1A1D89 #891A1D #1D891A
tetradic
#1A1D89 #891A55 #89861A #1A894E
square
#1A1D89 #891A55 #89861A #1A894E
split-complementary
#1A1D89 #894E1A #55891A
monochromatic
#060722 #101256 #1A1D89 #2428BC #4246DB

Accessibility & contrast

On white

13.28
#1A1D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1A1D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1D89
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1D89#FFFFFF#000000##FFFFFF
##1A1D891.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358C
Deuteranopia (green-blind)
#002A87
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a1d89;
/* rgb */ color: rgb(26, 29, 137);
/* oklch */ color: oklch(32.4% 0.172 270.5);
Tailwind
colors: {
  custom: {
    50: '#6d5bad',
    500: '#1a1d89',
    950: '#000000',
  },
}
SCSS
$custom: #1a1d89;
$custom-light: #6d5bad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1d89",
  "rgb": {
    "r": 26,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 238.378,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32369,
    "c": 0.17156,
    "h": 270.5
  },
  "luminance": 0.02904
}

Semantic roles & 50–950 ramp

primary
#1A1D89
secondary
#BCB943
accent
#E63DEB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A1D89

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

Preview Lab → · Contrast checker → · Palette generator →

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