#1A5987#1A5987

#1A5987 is a dark, moderate cyan. Relative luminance 0.091; OKLCH L 44.8% C 0.098 H 245.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#1A5987
RGBrgb(26, 89, 135)
HSLhsl(205, 68%, 32%)
HSVhsv(205, 81%, 53%)
CMYKcmyk(80.7%, 34.1%, 0%, 47.1%)
CIE-LABlab(36.20, -2.55, -31.21)
CIE-LCHlch(36.20, 31.31, 265.33°)
OKLaboklab(44.82% -0.0413 -0.0887)
OKLCHoklch(44.82% 0.098 245)
XYZxyz(8.3699, 9.1126, 24.2348)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5987 #87481A
analogous
#1A877F #1A5987 #1A2387
triadic
#1A5987 #871A59 #59871A
tetradic
#1A5987 #7F1A87 #87481A #23871A
square
#1A5987 #7F1A87 #87481A #23871A
split-complementary
#1A5987 #871A23 #877F1A
monochromatic
#061520 #103754 #1A5987 #247BBA #419ADA

Accessibility & contrast

On white

7.44
#1A5987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#1A5987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5987
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5987#FFFFFF#000000##FFFFFF
##1A59871.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445B89
Deuteranopia (green-blind)
#345186
Tritanopia (blue-blind)
#00646A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1a5987;
/* rgb */ color: rgb(26, 89, 135);
/* oklch */ color: oklch(44.8% 0.098 245.0);
Tailwind
colors: {
  custom: {
    50: '#6987aa',
    500: '#1a5987',
    950: '#000000',
  },
}
SCSS
$custom: #1a5987;
$custom-light: #6987aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5987",
  "rgb": {
    "r": 26,
    "g": 89,
    "b": 135
  },
  "hsl": {
    "h": 205.321,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4482,
    "c": 0.09778,
    "h": 245
  },
  "luminance": 0.09114
}

Semantic roles & 50–950 ramp

primary
#1A5987
secondary
#BA7542
accent
#863DEB
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1A5987

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

Preview Lab → · Contrast checker → · Palette generator →

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