#1A5287#1A5287

#1A5287 is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.1% C 0.105 H 250.7°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#1A5287
RGBrgb(26, 82, 135)
HSLhsl(209, 68%, 32%)
HSVhsv(209, 81%, 53%)
CMYKcmyk(80.7%, 39.3%, 0%, 47.1%)
CIE-LABlab(33.99, 1.95, -34.71)
CIE-LCHlch(33.99, 34.76, 273.22°)
OKLaboklab(43.08% -0.0346 -0.099)
OKLCHoklch(43.08% 0.105 250.7)
XYZxyz(7.8148, 8.0025, 24.0497)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5287 #874F1A
analogous
#1A8786 #1A5287 #1A1C87
triadic
#1A5287 #871A52 #52871A
tetradic
#1A5287 #861A87 #874F1A #1C871A
square
#1A5287 #861A87 #874F1A #1C871A
split-complementary
#1A5287 #871A1C #87861A
monochromatic
#061420 #103354 #1A5287 #2471BA #4190DA

Accessibility & contrast

On white

8.08
#1A5287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#1A5287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5287
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5287#FFFFFF#000000##FFFFFF
##1A52871.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395589
Deuteranopia (green-blind)
#284B86
Tritanopia (blue-blind)
#005F66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1a5287;
/* rgb */ color: rgb(26, 82, 135);
/* oklch */ color: oklch(43.1% 0.105 250.7);
Tailwind
colors: {
  custom: {
    50: '#6982aa',
    500: '#1a5287',
    950: '#000000',
  },
}
SCSS
$custom: #1a5287;
$custom-light: #6982aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5287",
  "rgb": {
    "r": 26,
    "g": 82,
    "b": 135
  },
  "hsl": {
    "h": 209.174,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43082,
    "c": 0.10489,
    "h": 250.7
  },
  "luminance": 0.08003
}

Semantic roles & 50–950 ramp

primary
#1A5287
secondary
#BA7D42
accent
#923DEB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1A5287

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

Preview Lab → · Contrast checker → · Palette generator →

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