#1A3D86#1A3D86

#1A3D86 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.1% C 0.129 H 262.6°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#1A3D86
RGBrgb(26, 61, 134)
HSLhsl(221, 68%, 31%)
HSVhsv(221, 81%, 53%)
CMYKcmyk(80.6%, 54.5%, 0%, 47.5%)
CIE-LABlab(27.51, 15.83, -44.49)
CIE-LCHlch(27.51, 47.22, 289.58°)
OKLaboklab(38.06% -0.0165 -0.1282)
OKLCHoklch(38.06% 0.129 262.6)
XYZxyz(6.3963, 5.2776, 23.2312)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3D86 #86631A
analogous
#1A7386 #1A3D86 #2D1A86
triadic
#1A3D86 #861A3D #3D861A
tetradic
#1A3D86 #861A73 #86631A #1A862D
square
#1A3D86 #861A73 #86631A #1A862D
split-complementary
#1A3D86 #862D1A #73861A
monochromatic
#060E1F #102653 #1A3D86 #2454B9 #4072DA

Accessibility & contrast

On white

10.22
#1A3D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#1A3D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3D86
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3D86#FFFFFF#000000##FFFFFF
##1A3D861.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064689
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1a3d86;
/* rgb */ color: rgb(26, 61, 134);
/* oklch */ color: oklch(38.1% 0.129 262.6);
Tailwind
colors: {
  custom: {
    50: '#6971aa',
    500: '#1a3d86',
    950: '#000000',
  },
}
SCSS
$custom: #1a3d86;
$custom-light: #6971aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3d86",
  "rgb": {
    "r": 26,
    "g": 61,
    "b": 134
  },
  "hsl": {
    "h": 220.556,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38059,
    "c": 0.12926,
    "h": 262.6
  },
  "luminance": 0.05278
}

Semantic roles & 50–950 ramp

primary
#1A3D86
secondary
#B99342
accent
#B23DEA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1A3D86

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

Preview Lab → · Contrast checker → · Palette generator →

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