#1A5187#1A5187

#1A5187 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.8% C 0.106 H 251.5°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#1A5187
RGBrgb(26, 81, 135)
HSLhsl(210, 68%, 32%)
HSVhsv(210, 81%, 53%)
CMYKcmyk(80.7%, 40%, 0%, 47.1%)
CIE-LABlab(33.67, 2.61, -35.21)
CIE-LCHlch(33.67, 35.31, 274.24°)
OKLaboklab(42.84% -0.0336 -0.1005)
OKLCHoklch(42.84% 0.106 251.5)
XYZxyz(7.7400, 7.8528, 24.0248)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5187 #87501A
analogous
#1A8787 #1A5187 #1A1A87
triadic
#1A5187 #871A51 #51871A
tetradic
#1A5187 #871A87 #87501A #1A871A
square
#1A5187 #871A87 #87501A #1A871A
split-complementary
#1A5187 #871A1A #87871A
monochromatic
#061320 #103254 #1A5187 #2470BA #418EDA

Accessibility & contrast

On white

8.17
#1A5187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#1A5187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5187
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5187#FFFFFF#000000##FFFFFF
##1A51871.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375589
Deuteranopia (green-blind)
#264B86
Tritanopia (blue-blind)
#005E65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1a5187;
/* rgb */ color: rgb(26, 81, 135);
/* oklch */ color: oklch(42.8% 0.106 251.5);
Tailwind
colors: {
  custom: {
    50: '#6981aa',
    500: '#1a5187',
    950: '#000000',
  },
}
SCSS
$custom: #1a5187;
$custom-light: #6981aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5187",
  "rgb": {
    "r": 26,
    "g": 81,
    "b": 135
  },
  "hsl": {
    "h": 209.725,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42836,
    "c": 0.10599,
    "h": 251.5
  },
  "luminance": 0.07854
}

Semantic roles & 50–950 ramp

primary
#1A5187
secondary
#BA7E42
accent
#933DEB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1A5187

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

Preview Lab → · Contrast checker → · Palette generator →

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