#1A3386#1A3386

#1A3386 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.142 H 266.3°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#1A3386
RGBrgb(26, 51, 134)
HSLhsl(226, 68%, 31%)
HSVhsv(226, 81%, 53%)
CMYKcmyk(80.6%, 61.9%, 0%, 47.5%)
CIE-LABlab(24.66, 22.83, -49.12)
CIE-LCHlch(24.66, 54.17, 294.92°)
OKLaboklab(35.92% -0.0093 -0.142)
OKLCHoklch(35.92% 0.142 266.3)
XYZxyz(5.9114, 4.3078, 23.0696)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3386 #866D1A
analogous
#1A6986 #1A3386 #371A86
triadic
#1A3386 #861A33 #33861A
tetradic
#1A3386 #861A69 #866D1A #1A8637
square
#1A3386 #861A69 #866D1A #1A8637
split-complementary
#1A3386 #86371A #69861A
monochromatic
#060C1F #101F53 #1A3386 #2447B9 #4064DA

Accessibility & contrast

On white

11.28
#1A3386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1A3386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3386
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3386#FFFFFF#000000##FFFFFF
##1A33861.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1a3386;
/* rgb */ color: rgb(26, 51, 134);
/* oklch */ color: oklch(35.9% 0.142 266.3);
Tailwind
colors: {
  custom: {
    50: '#6a6aaa',
    500: '#1a3386',
    950: '#000000',
  },
}
SCSS
$custom: #1a3386;
$custom-light: #6a6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3386",
  "rgb": {
    "r": 26,
    "g": 51,
    "b": 134
  },
  "hsl": {
    "h": 226.111,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35916,
    "c": 0.14229,
    "h": 266.3
  },
  "luminance": 0.04308
}

Semantic roles & 50–950 ramp

primary
#1A3386
secondary
#B99E42
accent
#C23DEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1A3386

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

Preview Lab → · Contrast checker → · Palette generator →

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