#1A2886#1A2886

#1A2886 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.156 H 269.0°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#1A2886
RGBrgb(26, 40, 134)
HSLhsl(232, 68%, 31%)
HSVhsv(232, 81%, 53%)
CMYKcmyk(80.6%, 70.1%, 0%, 47.5%)
CIE-LABlab(21.79, 30.34, -53.83)
CIE-LCHlch(21.79, 61.79, 299.41°)
OKLaboklab(33.8% -0.0027 -0.1559)
OKLCHoklch(33.8% 0.156 269)
XYZxyz(5.4864, 3.4578, 22.9279)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2886 #86781A
analogous
#1A5E86 #1A2886 #421A86
triadic
#1A2886 #861A28 #28861A
tetradic
#1A2886 #861A5E #86781A #1A8642
square
#1A2886 #861A5E #86781A #1A8642
split-complementary
#1A2886 #86421A #5E861A
monochromatic
#06091F #101953 #1A2886 #2437B9 #4054DA

Accessibility & contrast

On white

12.41
#1A2886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1A2886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2886
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2886#FFFFFF#000000##FFFFFF
##1A28861.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#002F84
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a2886;
/* rgb */ color: rgb(26, 40, 134);
/* oklch */ color: oklch(33.8% 0.156 269.0);
Tailwind
colors: {
  custom: {
    50: '#6b62aa',
    500: '#1a2886',
    950: '#000000',
  },
}
SCSS
$custom: #1a2886;
$custom-light: #6b62aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2886",
  "rgb": {
    "r": 26,
    "g": 40,
    "b": 134
  },
  "hsl": {
    "h": 232.222,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33801,
    "c": 0.15589,
    "h": 269
  },
  "luminance": 0.03458
}

Semantic roles & 50–950 ramp

primary
#1A2886
secondary
#B9AA42
accent
#D43DEA
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1A2886

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

Preview Lab → · Contrast checker → · Palette generator →

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