#1A4F87#1A4F87

#1A4F87 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.3% C 0.108 H 252.9°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#1A4F87
RGBrgb(26, 79, 135)
HSLhsl(211, 68%, 32%)
HSVhsv(211, 81%, 53%)
CMYKcmyk(80.7%, 41.5%, 0%, 47.1%)
CIE-LABlab(33.05, 3.93, -36.21)
CIE-LCHlch(33.05, 36.42, 276.19°)
OKLaboklab(42.35% -0.0318 -0.1035)
OKLCHoklch(42.35% 0.108 252.9)
XYZxyz(7.5935, 7.5599, 23.9760)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4F87 #87521A
analogous
#1A8687 #1A4F87 #1C1A87
triadic
#1A4F87 #871A4F #4F871A
tetradic
#1A4F87 #871A86 #87521A #1A871C
square
#1A4F87 #871A86 #87521A #1A871C
split-complementary
#1A4F87 #871C1A #86871A
monochromatic
#061320 #103154 #1A4F87 #246DBA #418CDA

Accessibility & contrast

On white

8.36
#1A4F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#1A4F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4F87
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4F87#FFFFFF#000000##FFFFFF
##1A4F871.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345389
Deuteranopia (green-blind)
#224986
Tritanopia (blue-blind)
#005C64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1a4f87;
/* rgb */ color: rgb(26, 79, 135);
/* oklch */ color: oklch(42.3% 0.108 252.9);
Tailwind
colors: {
  custom: {
    50: '#697faa',
    500: '#1a4f87',
    950: '#000000',
  },
}
SCSS
$custom: #1a4f87;
$custom-light: #697faa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4f87",
  "rgb": {
    "r": 26,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 210.826,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42348,
    "c": 0.10825,
    "h": 252.9
  },
  "luminance": 0.07561
}

Semantic roles & 50–950 ramp

primary
#1A4F87
secondary
#BA8042
accent
#963DEB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1A4F87

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

Preview Lab → · Contrast checker → · Palette generator →

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