#1A5786#1A5786

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

Color values

HEX#1A5786
RGBrgb(26, 87, 134)
HSLhsl(206, 68%, 31%)
HSVhsv(206, 81%, 53%)
CMYKcmyk(80.6%, 35.1%, 0%, 47.5%)
CIE-LABlab(35.51, -1.68, -31.68)
CIE-LCHlch(35.51, 31.73, 266.97°)
OKLaboklab(44.26% -0.0396 -0.0901)
OKLCHoklch(44.26% 0.098 246.2)
XYZxyz(8.1356, 8.7563, 23.8110)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5786 #86491A
analogous
#1A867F #1A5786 #1A2186
triadic
#1A5786 #861A57 #57861A
tetradic
#1A5786 #7F1A86 #86491A #21861A
square
#1A5786 #7F1A86 #86491A #21861A
split-complementary
#1A5786 #861A21 #867F1A
monochromatic
#06141F #103653 #1A5786 #2478B9 #4097DA

Accessibility & contrast

On white

7.63
#1A5786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#1A5786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5786
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5786#FFFFFF#000000##FFFFFF
##1A57861.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415988
Deuteranopia (green-blind)
#324F85
Tritanopia (blue-blind)
#006268
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1a5786;
/* rgb */ color: rgb(26, 87, 134);
/* oklch */ color: oklch(44.3% 0.098 246.2);
Tailwind
colors: {
  custom: {
    50: '#6886a9',
    500: '#1a5786',
    950: '#000000',
  },
}
SCSS
$custom: #1a5786;
$custom-light: #6886a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5786",
  "rgb": {
    "r": 26,
    "g": 87,
    "b": 134
  },
  "hsl": {
    "h": 206.111,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44259,
    "c": 0.09842,
    "h": 246.2
  },
  "luminance": 0.08757
}

Semantic roles & 50–950 ramp

primary
#1A5786
secondary
#B97642
accent
#893DEA
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1A5786

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

Preview Lab → · Contrast checker → · Palette generator →

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