#1A4D87#1A4D87

#1A4D87 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.9% C 0.111 H 254.3°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#1A4D87
RGBrgb(26, 77, 135)
HSLhsl(212, 68%, 32%)
HSVhsv(212, 81%, 53%)
CMYKcmyk(80.7%, 43%, 0%, 47.1%)
CIE-LABlab(32.43, 5.26, -37.20)
CIE-LCHlch(32.43, 37.57, 278.05°)
OKLaboklab(41.86% -0.03 -0.1064)
OKLCHoklch(41.86% 0.111 254.3)
XYZxyz(7.4514, 7.2758, 23.9286)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4D87 #87541A
analogous
#1A8487 #1A4D87 #1E1A87
triadic
#1A4D87 #871A4D #4D871A
tetradic
#1A4D87 #871A84 #87541A #1A871E
square
#1A4D87 #871A84 #87541A #1A871E
split-complementary
#1A4D87 #871E1A #84871A
monochromatic
#061220 #103054 #1A4D87 #246ABA #4189DA

Accessibility & contrast

On white

8.55
#1A4D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1A4D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4D87
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4D87#FFFFFF#000000##FFFFFF
##1A4D871.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305289
Deuteranopia (green-blind)
#1D4886
Tritanopia (blue-blind)
#005B63
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1a4d87;
/* rgb */ color: rgb(26, 77, 135);
/* oklch */ color: oklch(41.9% 0.111 254.3);
Tailwind
colors: {
  custom: {
    50: '#697eaa',
    500: '#1a4d87',
    950: '#000000',
  },
}
SCSS
$custom: #1a4d87;
$custom-light: #697eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4d87",
  "rgb": {
    "r": 26,
    "g": 77,
    "b": 135
  },
  "hsl": {
    "h": 211.927,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41863,
    "c": 0.11057,
    "h": 254.3
  },
  "luminance": 0.07277
}

Semantic roles & 50–950 ramp

primary
#1A4D87
secondary
#BA8242
accent
#993DEB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1A4D87

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

Preview Lab → · Contrast checker → · Palette generator →

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