#1A5087#1A5087

#1A5087 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.6% C 0.107 H 252.2°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#1A5087
RGBrgb(26, 80, 135)
HSLhsl(210, 68%, 32%)
HSVhsv(210, 81%, 53%)
CMYKcmyk(80.7%, 40.7%, 0%, 47.1%)
CIE-LABlab(33.36, 3.27, -35.71)
CIE-LCHlch(33.36, 35.86, 275.23°)
OKLaboklab(42.59% -0.0327 -0.102)
OKLCHoklch(42.59% 0.107 252.2)
XYZxyz(7.6662, 7.7053, 24.0002)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5087 #87511A
analogous
#1A8787 #1A5087 #1A1A87
triadic
#1A5087 #871A50 #50871A
tetradic
#1A5087 #871A87 #87511A #1A871A
square
#1A5087 #871A87 #87511A #1A871A
split-complementary
#1A5087 #871A1A #87871A
monochromatic
#061320 #103254 #1A5087 #246EBA #418DDA

Accessibility & contrast

On white

8.26
#1A5087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#1A5087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5087
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5087#FFFFFF#000000##FFFFFF
##1A50871.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365489
Deuteranopia (green-blind)
#244A86
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1a5087;
/* rgb */ color: rgb(26, 80, 135);
/* oklch */ color: oklch(42.6% 0.107 252.2);
Tailwind
colors: {
  custom: {
    50: '#6980aa',
    500: '#1a5087',
    950: '#000000',
  },
}
SCSS
$custom: #1a5087;
$custom-light: #6980aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5087",
  "rgb": {
    "r": 26,
    "g": 80,
    "b": 135
  },
  "hsl": {
    "h": 210.275,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42592,
    "c": 0.10711,
    "h": 252.2
  },
  "luminance": 0.07706
}

Semantic roles & 50–950 ramp

primary
#1A5087
secondary
#BA7F42
accent
#953DEB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1A5087

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

Preview Lab → · Contrast checker → · Palette generator →

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