#1A5C87#1A5C87

#1A5C87 is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.6% C 0.095 H 242.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#1A5C87
RGBrgb(26, 92, 135)
HSLhsl(204, 68%, 32%)
HSVhsv(204, 81%, 53%)
CMYKcmyk(80.7%, 31.9%, 0%, 47.1%)
CIE-LABlab(37.16, -4.44, -29.70)
CIE-LCHlch(37.16, 30.03, 261.51°)
OKLaboklab(45.58% -0.0442 -0.0842)
OKLCHoklch(45.58% 0.095 242.3)
XYZxyz(8.6246, 9.6221, 24.3197)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5C87 #87451A
analogous
#1A877C #1A5C87 #1A2587
triadic
#1A5C87 #871A5C #5C871A
tetradic
#1A5C87 #7C1A87 #87451A #25871A
square
#1A5C87 #7C1A87 #87451A #25871A
split-complementary
#1A5C87 #871A25 #877C1A
monochromatic
#061620 #103954 #1A5C87 #247FBA #419EDA

Accessibility & contrast

On white

7.18
#1A5C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#1A5C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5C87
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5C87#FFFFFF#000000##FFFFFF
##1A5C871.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485D89
Deuteranopia (green-blind)
#395386
Tritanopia (blue-blind)
#00676B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1a5c87;
/* rgb */ color: rgb(26, 92, 135);
/* oklch */ color: oklch(45.6% 0.095 242.3);
Tailwind
colors: {
  custom: {
    50: '#698aaa',
    500: '#1a5c87',
    950: '#000000',
  },
}
SCSS
$custom: #1a5c87;
$custom-light: #698aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5c87",
  "rgb": {
    "r": 26,
    "g": 92,
    "b": 135
  },
  "hsl": {
    "h": 203.67,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45575,
    "c": 0.0951,
    "h": 242.3
  },
  "luminance": 0.09623
}

Semantic roles & 50–950 ramp

primary
#1A5C87
secondary
#BA7242
accent
#823DEB
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1A5C87

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

Preview Lab → · Contrast checker → · Palette generator →

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