#1A3987#1A3987

#1A3987 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.3% C 0.136 H 264.3°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#1A3987
RGBrgb(26, 57, 135)
HSLhsl(223, 68%, 32%)
HSVhsv(223, 81%, 53%)
CMYKcmyk(80.7%, 57.8%, 0%, 47.1%)
CIE-LABlab(26.43, 19.03, -46.86)
CIE-LCHlch(26.43, 50.58, 292.10°)
OKLaboklab(37.27% -0.0134 -0.1353)
OKLCHoklch(37.27% 0.136 264.3)
XYZxyz(6.2607, 4.8944, 23.5317)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3987 #87681A
analogous
#1A7087 #1A3987 #321A87
triadic
#1A3987 #871A39 #39871A
tetradic
#1A3987 #871A70 #87681A #1A8732
square
#1A3987 #871A70 #87681A #1A8732
split-complementary
#1A3987 #87321A #70871A
monochromatic
#060E20 #102354 #1A3987 #244FBA #416DDA

Accessibility & contrast

On white

10.61
#1A3987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1A3987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3987
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3987#FFFFFF#000000##FFFFFF
##1A39871.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#004C5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1a3987;
/* rgb */ color: rgb(26, 57, 135);
/* oklch */ color: oklch(37.3% 0.136 264.3);
Tailwind
colors: {
  custom: {
    50: '#696eab',
    500: '#1a3987',
    950: '#000000',
  },
}
SCSS
$custom: #1a3987;
$custom-light: #696eab;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3987",
  "rgb": {
    "r": 26,
    "g": 57,
    "b": 135
  },
  "hsl": {
    "h": 222.936,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37267,
    "c": 0.13593,
    "h": 264.3
  },
  "luminance": 0.04895
}

Semantic roles & 50–950 ramp

primary
#1A3987
secondary
#BA9842
accent
#B93DEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1A3987

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

Preview Lab → · Contrast checker → · Palette generator →

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