#1A4C87#1A4C87

#1A4C87 is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.6% C 0.112 H 254.9°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#1A4C87
RGBrgb(26, 76, 135)
HSLhsl(212, 68%, 32%)
HSVhsv(212, 81%, 53%)
CMYKcmyk(80.7%, 43.7%, 0%, 47.1%)
CIE-LABlab(32.12, 5.93, -37.69)
CIE-LCHlch(32.12, 38.16, 278.94°)
OKLaboklab(41.62% -0.0291 -0.1079)
OKLCHoklch(41.62% 0.112 254.9)
XYZxyz(7.3820, 7.1369, 23.9055)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4C87 #87551A
analogous
#1A8387 #1A4C87 #1F1A87
triadic
#1A4C87 #871A4C #4C871A
tetradic
#1A4C87 #871A83 #87551A #1A871F
square
#1A4C87 #871A83 #87551A #1A871F
split-complementary
#1A4C87 #871F1A #83871A
monochromatic
#061220 #102F54 #1A4C87 #2469BA #4187DA

Accessibility & contrast

On white

8.65
#1A4C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1A4C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4C87
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4C87#FFFFFF#000000##FFFFFF
##1A4C871.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5189
Deuteranopia (green-blind)
#1B4786
Tritanopia (blue-blind)
#005A63
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1a4c87;
/* rgb */ color: rgb(26, 76, 135);
/* oklch */ color: oklch(41.6% 0.112 254.9);
Tailwind
colors: {
  custom: {
    50: '#697daa',
    500: '#1a4c87',
    950: '#000000',
  },
}
SCSS
$custom: #1a4c87;
$custom-light: #697daa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4c87",
  "rgb": {
    "r": 26,
    "g": 76,
    "b": 135
  },
  "hsl": {
    "h": 212.477,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41622,
    "c": 0.11175,
    "h": 254.9
  },
  "luminance": 0.07138
}

Semantic roles & 50–950 ramp

primary
#1A4C87
secondary
#BA8342
accent
#9B3DEB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1A4C87

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

Preview Lab → · Contrast checker → · Palette generator →

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