#1A2884#1A2884

#1A2884 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.153 H 269.1°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#1A2884
RGBrgb(26, 40, 132)
HSLhsl(232, 67%, 31%)
HSVhsv(232, 80%, 52%)
CMYKcmyk(80.3%, 69.7%, 0%, 48.2%)
CIE-LABlab(21.59, 29.58, -52.91)
CIE-LCHlch(21.59, 60.61, 299.21°)
OKLaboklab(33.59% -0.0025 -0.1532)
OKLCHoklch(33.59% 0.153 269.1)
XYZxyz(5.3482, 3.4025, 22.2002)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2884 #84761A
analogous
#1A5D84 #1A2884 #411A84
triadic
#1A2884 #841A28 #28841A
tetradic
#1A2884 #841A5D #84761A #1A8441
square
#1A2884 #841A5D #84761A #1A8441
split-complementary
#1A2884 #84411A #5D841A
monochromatic
#06091E #101951 #1A2884 #2437B7 #3F54D9

Accessibility & contrast

On white

12.50
#1A2884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1A2884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2884
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2884#FFFFFF#000000##FFFFFF
##1A28841.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#002F82
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a2884;
/* rgb */ color: rgb(26, 40, 132);
/* oklch */ color: oklch(33.6% 0.153 269.1);
Tailwind
colors: {
  custom: {
    50: '#6a62a9',
    500: '#1a2884',
    950: '#000000',
  },
}
SCSS
$custom: #1a2884;
$custom-light: #6a62a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2884",
  "rgb": {
    "r": 26,
    "g": 40,
    "b": 132
  },
  "hsl": {
    "h": 232.075,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33593,
    "c": 0.15319,
    "h": 269.1
  },
  "luminance": 0.03403
}

Semantic roles & 50–950 ramp

primary
#1A2884
secondary
#B8A842
accent
#D33EEA
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1A2884

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

Preview Lab → · Contrast checker → · Palette generator →

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