#1A3887#1A3887

#1A3887 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.1% C 0.137 H 264.7°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#1A3887
RGBrgb(26, 56, 135)
HSLhsl(223, 68%, 32%)
HSVhsv(223, 81%, 53%)
CMYKcmyk(80.7%, 58.5%, 0%, 47.1%)
CIE-LABlab(26.15, 19.73, -47.33)
CIE-LCHlch(26.15, 51.28, 292.63°)
OKLaboklab(37.05% -0.0127 -0.1366)
OKLCHoklch(37.05% 0.137 264.7)
XYZxyz(6.2118, 4.7965, 23.5154)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3887 #87691A
analogous
#1A6F87 #1A3887 #331A87
triadic
#1A3887 #871A38 #38871A
tetradic
#1A3887 #871A6F #87691A #1A8733
square
#1A3887 #871A6F #87691A #1A8733
split-complementary
#1A3887 #87331A #6F871A
monochromatic
#060D20 #102354 #1A3887 #244DBA #416BDA

Accessibility & contrast

On white

10.72
#1A3887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#1A3887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3887
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3887#FFFFFF#000000##FFFFFF
##1A38871.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#003985
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1a3887;
/* rgb */ color: rgb(26, 56, 135);
/* oklch */ color: oklch(37.1% 0.137 264.7);
Tailwind
colors: {
  custom: {
    50: '#696eab',
    500: '#1a3887',
    950: '#000000',
  },
}
SCSS
$custom: #1a3887;
$custom-light: #696eab;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3887",
  "rgb": {
    "r": 26,
    "g": 56,
    "b": 135
  },
  "hsl": {
    "h": 223.486,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37052,
    "c": 0.13723,
    "h": 264.7
  },
  "luminance": 0.04797
}

Semantic roles & 50–950 ramp

primary
#1A3887
secondary
#BA9942
accent
#BB3DEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1A3887

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

Preview Lab → · Contrast checker → · Palette generator →

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