#1A1590#1A1590

#1A1590 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.187 H 270.7°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#1A1590
RGBrgb(26, 21, 144)
HSLhsl(242, 75%, 32%)
HSVhsv(242, 85%, 56%)
CMYKcmyk(81.9%, 85.4%, 0%, 43.5%)
CIE-LABlab(19.09, 44.75, -64.54)
CIE-LCHlch(19.09, 78.54, 304.74°)
OKLaboklab(32.23% 0.0022 -0.1868)
OKLCHoklch(32.23% 0.187 270.7)
XYZxyz(5.7265, 2.7689, 26.6128)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1590 #8B9015
analogous
#154E90 #1A1590 #581590
triadic
#1A1590 #901A15 #15901A
tetradic
#1A1590 #90154E #8B9015 #159058
square
#1A1590 #90154E #8B9015 #159058
split-complementary
#1A1590 #905815 #4E9015
monochromatic
#070525 #100D5B #1A1590 #241DC5 #433DE3

Accessibility & contrast

On white

13.51
#1A1590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1A1590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1590
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1590#FFFFFF#000000##FFFFFF
##1A15901.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003493
Deuteranopia (green-blind)
#00288E
Tritanopia (blue-blind)
#003D55
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a1590;
/* rgb */ color: rgb(26, 21, 144);
/* oklch */ color: oklch(32.2% 0.187 270.7);
Tailwind
colors: {
  custom: {
    50: '#6f57b2',
    500: '#1a1590',
    950: '#000000',
  },
}
SCSS
$custom: #1a1590;
$custom-light: #6f57b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1590",
  "rgb": {
    "r": 26,
    "g": 21,
    "b": 144
  },
  "hsl": {
    "h": 242.439,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32227,
    "c": 0.18678,
    "h": 270.7
  },
  "luminance": 0.0277
}

Semantic roles & 50–950 ramp

primary
#1A1590
secondary
#BDC23E
accent
#F137EA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1A1590

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

Preview Lab → · Contrast checker → · Palette generator →

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