#1A3286#1A3286

#1A3286 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.144 H 266.6°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#1A3286
RGBrgb(26, 50, 134)
HSLhsl(227, 68%, 31%)
HSVhsv(227, 81%, 53%)
CMYKcmyk(80.6%, 62.7%, 0%, 47.5%)
CIE-LABlab(24.39, 23.52, -49.57)
CIE-LCHlch(24.39, 54.87, 295.39°)
OKLaboklab(35.71% -0.0086 -0.1433)
OKLCHoklch(35.71% 0.144 266.6)
XYZxyz(5.8682, 4.2214, 23.0552)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3286 #866E1A
analogous
#1A6886 #1A3286 #381A86
triadic
#1A3286 #861A32 #32861A
tetradic
#1A3286 #861A68 #866E1A #1A8638
square
#1A3286 #861A68 #866E1A #1A8638
split-complementary
#1A3286 #86381A #68861A
monochromatic
#060C1F #101F53 #1A3286 #2445B9 #4063DA

Accessibility & contrast

On white

11.39
#1A3286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1A3286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3286
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3286#FFFFFF#000000##FFFFFF
##1A32861.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1a3286;
/* rgb */ color: rgb(26, 50, 134);
/* oklch */ color: oklch(35.7% 0.144 266.6);
Tailwind
colors: {
  custom: {
    50: '#6a69aa',
    500: '#1a3286',
    950: '#000000',
  },
}
SCSS
$custom: #1a3286;
$custom-light: #6a69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3286",
  "rgb": {
    "r": 26,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 226.667,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35712,
    "c": 0.14357,
    "h": 266.6
  },
  "luminance": 0.04222
}

Semantic roles & 50–950 ramp

primary
#1A3286
secondary
#B99F42
accent
#C43DEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1A3286

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

Preview Lab → · Contrast checker → · Palette generator →

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