#1A4A87#1A4A87

#1A4A87 is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 41.1% C 0.114 H 256.2°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#1A4A87
RGBrgb(26, 74, 135)
HSLhsl(214, 68%, 32%)
HSVhsv(214, 81%, 53%)
CMYKcmyk(80.7%, 45.2%, 0%, 47.1%)
CIE-LABlab(31.50, 7.28, -38.68)
CIE-LCHlch(31.50, 39.36, 280.65°)
OKLaboklab(41.14% -0.0273 -0.1108)
OKLCHoklch(41.14% 0.114 256.2)
XYZxyz(7.2463, 6.8656, 23.8603)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4A87 #87571A
analogous
#1A8187 #1A4A87 #211A87
triadic
#1A4A87 #871A4A #4A871A
tetradic
#1A4A87 #871A81 #87571A #1A8721
square
#1A4A87 #871A81 #87571A #1A8721
split-complementary
#1A4A87 #87211A #81871A
monochromatic
#061220 #102E54 #1A4A87 #2466BA #4185DA

Accessibility & contrast

On white

8.85
#1A4A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#1A4A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4A87
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4A87#FFFFFF#000000##FFFFFF
##1A4A871.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4F89
Deuteranopia (green-blind)
#154686
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1a4a87;
/* rgb */ color: rgb(26, 74, 135);
/* oklch */ color: oklch(41.1% 0.114 256.2);
Tailwind
colors: {
  custom: {
    50: '#697caa',
    500: '#1a4a87',
    950: '#000000',
  },
}
SCSS
$custom: #1a4a87;
$custom-light: #697caa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4a87",
  "rgb": {
    "r": 26,
    "g": 74,
    "b": 135
  },
  "hsl": {
    "h": 213.578,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41142,
    "c": 0.11416,
    "h": 256.2
  },
  "luminance": 0.06866
}

Semantic roles & 50–950 ramp

primary
#1A4A87
secondary
#BA8642
accent
#9E3DEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1A4A87

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

Preview Lab → · Contrast checker → · Palette generator →

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