#1A3C86#1A3C86

#1A3C86 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 37.8% C 0.131 H 263.1°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#1A3C86
RGBrgb(26, 60, 134)
HSLhsl(221, 68%, 31%)
HSVhsv(221, 81%, 53%)
CMYKcmyk(80.6%, 55.2%, 0%, 47.5%)
CIE-LABlab(27.22, 16.53, -44.96)
CIE-LCHlch(27.22, 47.90, 290.18°)
OKLaboklab(37.84% -0.0158 -0.1296)
OKLCHoklch(37.84% 0.131 263.1)
XYZxyz(6.3434, 5.1718, 23.2136)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3C86 #86641A
analogous
#1A7286 #1A3C86 #2E1A86
triadic
#1A3C86 #861A3C #3C861A
tetradic
#1A3C86 #861A72 #86641A #1A862E
square
#1A3C86 #861A72 #86641A #1A862E
split-complementary
#1A3C86 #862E1A #72861A
monochromatic
#060E1F #102553 #1A3C86 #2453B9 #4071DA

Accessibility & contrast

On white

10.32
#1A3C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#1A3C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3C86
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3C86#FFFFFF#000000##FFFFFF
##1A3C861.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014589
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1a3c86;
/* rgb */ color: rgb(26, 60, 134);
/* oklch */ color: oklch(37.8% 0.131 263.1);
Tailwind
colors: {
  custom: {
    50: '#6971aa',
    500: '#1a3c86',
    950: '#000000',
  },
}
SCSS
$custom: #1a3c86;
$custom-light: #6971aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3c86",
  "rgb": {
    "r": 26,
    "g": 60,
    "b": 134
  },
  "hsl": {
    "h": 221.111,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37837,
    "c": 0.13058,
    "h": 263.1
  },
  "luminance": 0.05173
}

Semantic roles & 50–950 ramp

primary
#1A3C86
secondary
#B99442
accent
#B43DEA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1A3C86

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

Preview Lab → · Contrast checker → · Palette generator →

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