#1A3D87#1A3D87

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

Color values

HEX#1A3D87
RGBrgb(26, 61, 135)
HSLhsl(221, 68%, 32%)
HSVhsv(221, 81%, 53%)
CMYKcmyk(80.7%, 54.8%, 0%, 47.1%)
CIE-LABlab(27.59, 16.24, -44.99)
CIE-LCHlch(27.59, 47.83, 289.85°)
OKLaboklab(38.14% -0.0164 -0.1297)
OKLCHoklch(38.14% 0.131 262.8)
XYZxyz(6.4664, 5.3056, 23.6003)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3D87 #87641A
analogous
#1A7487 #1A3D87 #2E1A87
triadic
#1A3D87 #871A3D #3D871A
tetradic
#1A3D87 #871A74 #87641A #1A872E
square
#1A3D87 #871A74 #87641A #1A872E
split-complementary
#1A3D87 #872E1A #74871A
monochromatic
#060F20 #102654 #1A3D87 #2454BA #4172DA

Accessibility & contrast

On white

10.19
#1A3D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A3D87
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3D87#FFFFFF#000000##FFFFFF
##1A3D871.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03468A
Deuteranopia (green-blind)
#003C86
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1a3d87;
/* rgb */ color: rgb(26, 61, 135);
/* oklch */ color: oklch(38.1% 0.131 262.8);
Tailwind
colors: {
  custom: {
    50: '#6971ab',
    500: '#1a3d87',
    950: '#000000',
  },
}
SCSS
$custom: #1a3d87;
$custom-light: #6971ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3d87",
  "rgb": {
    "r": 26,
    "g": 61,
    "b": 135
  },
  "hsl": {
    "h": 220.734,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38141,
    "c": 0.13071,
    "h": 262.8
  },
  "luminance": 0.05306
}

Semantic roles & 50–950 ramp

primary
#1A3D87
secondary
#BA9442
accent
#B33DEB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1A3D87

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

Preview Lab → · Contrast checker → · Palette generator →

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