#1A5887#1A5887

#1A5887 is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.6% C 0.099 H 245.9°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#1A5887
RGBrgb(26, 88, 135)
HSLhsl(206, 68%, 32%)
HSVhsv(206, 81%, 53%)
CMYKcmyk(80.7%, 34.8%, 0%, 47.1%)
CIE-LABlab(35.88, -1.92, -31.71)
CIE-LCHlch(35.88, 31.76, 266.54°)
OKLaboklab(44.57% -0.0403 -0.0901)
OKLCHoklch(44.57% 0.099 245.9)
XYZxyz(8.2872, 8.9473, 24.2072)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5887 #87491A
analogous
#1A8780 #1A5887 #1A2187
triadic
#1A5887 #871A58 #58871A
tetradic
#1A5887 #801A87 #87491A #21871A
square
#1A5887 #801A87 #87491A #21871A
split-complementary
#1A5887 #871A21 #87801A
monochromatic
#061520 #103754 #1A5887 #2479BA #4198DA

Accessibility & contrast

On white

7.53
#1A5887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#1A5887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5887
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5887#FFFFFF#000000##FFFFFF
##1A58871.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425A89
Deuteranopia (green-blind)
#335086
Tritanopia (blue-blind)
#006369
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1a5887;
/* rgb */ color: rgb(26, 88, 135);
/* oklch */ color: oklch(44.6% 0.099 245.9);
Tailwind
colors: {
  custom: {
    50: '#6986aa',
    500: '#1a5887',
    950: '#000000',
  },
}
SCSS
$custom: #1a5887;
$custom-light: #6986aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5887",
  "rgb": {
    "r": 26,
    "g": 88,
    "b": 135
  },
  "hsl": {
    "h": 205.872,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4457,
    "c": 0.09873,
    "h": 245.9
  },
  "luminance": 0.08948
}

Semantic roles & 50–950 ramp

primary
#1A5887
secondary
#BA7642
accent
#883DEB
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1A5887

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

Preview Lab → · Contrast checker → · Palette generator →

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