#1A1884#1A1884

#1A1884 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.1% C 0.170 H 271.5°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#1A1884
RGBrgb(26, 24, 132)
HSLhsl(241, 69%, 31%)
HSVhsv(241, 82%, 52%)
CMYKcmyk(80.3%, 81.8%, 0%, 48.2%)
CIE-LABlab(18.09, 39.35, -58.68)
CIE-LCHlch(18.09, 70.65, 303.84°)
OKLaboklab(31.1% 0.0043 -0.1699)
OKLCHoklch(31.1% 0.17 271.5)
XYZxyz(4.9161, 2.5383, 22.0562)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1884 #828418
analogous
#184C84 #1A1884 #501884
triadic
#1A1884 #841A18 #18841A
tetradic
#1A1884 #84184C #828418 #188450
square
#1A1884 #84184C #828418 #188450
split-complementary
#1A1884 #845018 #4C8418
monochromatic
#06051C #100F50 #1A1884 #2421B8 #3E3BDB

Accessibility & contrast

On white

13.93
#1A1884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A1884
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1884#FFFFFF#000000##FFFFFF
##1A18841.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003187
Deuteranopia (green-blind)
#002782
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a1884;
/* rgb */ color: rgb(26, 24, 132);
/* oklch */ color: oklch(31.1% 0.170 271.5);
Tailwind
colors: {
  custom: {
    50: '#6c57a9',
    500: '#1a1884',
    950: '#000000',
  },
}
SCSS
$custom: #1a1884;
$custom-light: #6c57a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1884",
  "rgb": {
    "r": 26,
    "g": 24,
    "b": 132
  },
  "hsl": {
    "h": 241.111,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31097,
    "c": 0.16992,
    "h": 271.5
  },
  "luminance": 0.02539
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A1884

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

Preview Lab → · Contrast checker → · Palette generator →

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