#1A1885#1A1885

#1A1885 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.171 H 271.4°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#1A1885
RGBrgb(26, 24, 133)
HSLhsl(241, 69%, 31%)
HSVhsv(241, 82%, 52%)
CMYKcmyk(80.5%, 82%, 0%, 47.8%)
CIE-LABlab(18.21, 39.68, -59.11)
CIE-LCHlch(18.21, 71.20, 303.88°)
OKLaboklab(31.22% 0.0041 -0.1711)
OKLCHoklch(31.22% 0.171 271.4)
XYZxyz(4.9848, 2.5658, 22.4183)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1885 #838518
analogous
#184C85 #1A1885 #501885
triadic
#1A1885 #851A18 #18851A
tetradic
#1A1885 #85184C #838518 #188550
square
#1A1885 #85184C #838518 #188550
split-complementary
#1A1885 #855018 #4C8518
monochromatic
#06051D #100F51 #1A1885 #2421B9 #3F3CDC

Accessibility & contrast

On white

13.88
#1A1885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A1885
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1885#FFFFFF#000000##FFFFFF
##1A18851.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002783
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a1885;
/* rgb */ color: rgb(26, 24, 133);
/* oklch */ color: oklch(31.2% 0.171 271.4);
Tailwind
colors: {
  custom: {
    50: '#6c58aa',
    500: '#1a1885',
    950: '#000000',
  },
}
SCSS
$custom: #1a1885;
$custom-light: #6c58aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1885",
  "rgb": {
    "r": 26,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 241.101,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31218,
    "c": 0.17116,
    "h": 271.4
  },
  "luminance": 0.02566
}

Semantic roles & 50–950 ramp

primary
#1A1885
secondary
#B7B940
accent
#EC3CE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1A1885

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

Preview Lab → · Contrast checker → · Palette generator →

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