#1A3986#1A3986

#1A3986 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.2% C 0.135 H 264.2°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#1A3986
RGBrgb(26, 57, 134)
HSLhsl(223, 68%, 31%)
HSVhsv(223, 81%, 53%)
CMYKcmyk(80.6%, 57.5%, 0%, 47.5%)
CIE-LABlab(26.35, 18.63, -46.37)
CIE-LCHlch(26.35, 49.97, 291.88°)
OKLaboklab(37.18% -0.0135 -0.1338)
OKLCHoklch(37.18% 0.135 264.2)
XYZxyz(6.1907, 4.8664, 23.1627)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3986 #86671A
analogous
#1A6F86 #1A3986 #311A86
triadic
#1A3986 #861A39 #39861A
tetradic
#1A3986 #861A6F #86671A #1A8631
square
#1A3986 #861A6F #86671A #1A8631
split-complementary
#1A3986 #86311A #6F861A
monochromatic
#060D1F #102353 #1A3986 #244FB9 #406CDA

Accessibility & contrast

On white

10.64
#1A3986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1A3986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3986
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3986#FFFFFF#000000##FFFFFF
##1A39861.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1a3986;
/* rgb */ color: rgb(26, 57, 134);
/* oklch */ color: oklch(37.2% 0.135 264.2);
Tailwind
colors: {
  custom: {
    50: '#696eaa',
    500: '#1a3986',
    950: '#000000',
  },
}
SCSS
$custom: #1a3986;
$custom-light: #696eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3986",
  "rgb": {
    "r": 26,
    "g": 57,
    "b": 134
  },
  "hsl": {
    "h": 222.778,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3718,
    "c": 0.1345,
    "h": 264.2
  },
  "luminance": 0.04867
}

Semantic roles & 50–950 ramp

primary
#1A3986
secondary
#B99742
accent
#B93DEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1A3986

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

Preview Lab → · Contrast checker → · Palette generator →

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