#1A4E87#1A4E87

#1A4E87 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.1% C 0.109 H 253.6°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#1A4E87
RGBrgb(26, 78, 135)
HSLhsl(211, 68%, 32%)
HSVhsv(211, 81%, 53%)
CMYKcmyk(80.7%, 42.2%, 0%, 47.1%)
CIE-LABlab(32.74, 4.59, -36.70)
CIE-LCHlch(32.74, 36.99, 277.13°)
OKLaboklab(42.11% -0.0309 -0.1049)
OKLCHoklch(42.11% 0.109 253.6)
XYZxyz(7.5219, 7.4168, 23.9521)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4E87 #87531A
analogous
#1A8587 #1A4E87 #1C1A87
triadic
#1A4E87 #871A4E #4E871A
tetradic
#1A4E87 #871A85 #87531A #1A871C
square
#1A4E87 #871A85 #87531A #1A871C
split-complementary
#1A4E87 #871C1A #85871A
monochromatic
#061320 #103054 #1A4E87 #246CBA #418ADA

Accessibility & contrast

On white

8.46
#1A4E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1A4E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4E87
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4E87#FFFFFF#000000##FFFFFF
##1A4E871.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325289
Deuteranopia (green-blind)
#204886
Tritanopia (blue-blind)
#005C64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1a4e87;
/* rgb */ color: rgb(26, 78, 135);
/* oklch */ color: oklch(42.1% 0.109 253.6);
Tailwind
colors: {
  custom: {
    50: '#697faa',
    500: '#1a4e87',
    950: '#000000',
  },
}
SCSS
$custom: #1a4e87;
$custom-light: #697faa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4e87",
  "rgb": {
    "r": 26,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 211.376,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42105,
    "c": 0.1094,
    "h": 253.6
  },
  "luminance": 0.07418
}

Semantic roles & 50–950 ramp

primary
#1A4E87
secondary
#BA8142
accent
#983DEB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1A4E87

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

Preview Lab → · Contrast checker → · Palette generator →

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