#1A4987#1A4987

#1A4987 is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.9% C 0.115 H 256.8°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#1A4987
RGBrgb(26, 73, 135)
HSLhsl(214, 68%, 32%)
HSVhsv(214, 81%, 53%)
CMYKcmyk(80.7%, 45.9%, 0%, 47.1%)
CIE-LABlab(31.19, 7.95, -39.18)
CIE-LCHlch(31.19, 39.98, 281.48°)
OKLaboklab(40.9% -0.0264 -0.1123)
OKLCHoklch(40.9% 0.115 256.8)
XYZxyz(7.1801, 6.7331, 23.8382)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4987 #87581A
analogous
#1A8087 #1A4987 #211A87
triadic
#1A4987 #871A49 #49871A
tetradic
#1A4987 #871A80 #87581A #1A8721
square
#1A4987 #871A80 #87581A #1A8721
split-complementary
#1A4987 #87211A #80871A
monochromatic
#061220 #102D54 #1A4987 #2465BA #4183DA

Accessibility & contrast

On white

8.95
#1A4987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#1A4987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4987
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4987#FFFFFF#000000##FFFFFF
##1A49871.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294F89
Deuteranopia (green-blind)
#124586
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1a4987;
/* rgb */ color: rgb(26, 73, 135);
/* oklch */ color: oklch(40.9% 0.115 256.8);
Tailwind
colors: {
  custom: {
    50: '#697baa',
    500: '#1a4987',
    950: '#000000',
  },
}
SCSS
$custom: #1a4987;
$custom-light: #697baa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4987",
  "rgb": {
    "r": 26,
    "g": 73,
    "b": 135
  },
  "hsl": {
    "h": 214.128,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40904,
    "c": 0.11538,
    "h": 256.8
  },
  "luminance": 0.06734
}

Semantic roles & 50–950 ramp

primary
#1A4987
secondary
#BA8742
accent
#A03DEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1A4987

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

Preview Lab → · Contrast checker → · Palette generator →

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