#1A5787#1A5787

#1A5787 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.3% C 0.100 H 246.8°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#1A5787
RGBrgb(26, 87, 135)
HSLhsl(206, 68%, 32%)
HSVhsv(206, 81%, 53%)
CMYKcmyk(80.7%, 35.6%, 0%, 47.1%)
CIE-LABlab(35.57, -1.28, -32.21)
CIE-LCHlch(35.57, 32.23, 267.72°)
OKLaboklab(44.32% -0.0393 -0.0916)
OKLCHoklch(44.32% 0.1 246.8)
XYZxyz(8.2057, 8.7843, 24.1800)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5787 #874A1A
analogous
#1A8781 #1A5787 #1A2187
triadic
#1A5787 #871A57 #57871A
tetradic
#1A5787 #811A87 #874A1A #21871A
square
#1A5787 #811A87 #874A1A #21871A
split-complementary
#1A5787 #871A21 #87811A
monochromatic
#061520 #103654 #1A5787 #2478BA #4197DA

Accessibility & contrast

On white

7.62
#1A5787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#1A5787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5787
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5787#FFFFFF#000000##FFFFFF
##1A57871.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415989
Deuteranopia (green-blind)
#314F86
Tritanopia (blue-blind)
#006368
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1a5787;
/* rgb */ color: rgb(26, 87, 135);
/* oklch */ color: oklch(44.3% 0.100 246.8);
Tailwind
colors: {
  custom: {
    50: '#6986aa',
    500: '#1a5787',
    950: '#000000',
  },
}
SCSS
$custom: #1a5787;
$custom-light: #6986aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5787",
  "rgb": {
    "r": 26,
    "g": 87,
    "b": 135
  },
  "hsl": {
    "h": 206.422,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4432,
    "c": 0.0997,
    "h": 246.8
  },
  "luminance": 0.08785
}

Semantic roles & 50–950 ramp

primary
#1A5787
secondary
#BA7742
accent
#8A3DEB
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1A5787

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

Preview Lab → · Contrast checker → · Palette generator →

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