#2A87A9#2A87A9

#2A87A9 is a mid, moderate cyan. Relative luminance 0.207; OKLCH L 58.5% C 0.099 H 227.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2A87A9
RGBrgb(42, 135, 169)
HSLhsl(196, 60%, 41%)
HSVhsv(196, 75%, 66%)
CMYKcmyk(75.1%, 20.1%, 0%, 33.7%)
CIE-LABlab(52.60, -15.21, -25.72)
CIE-LCHlch(52.60, 29.88, 239.39°)
OKLaboklab(58.5% -0.0672 -0.0721)
OKLCHoklch(58.5% 0.099 227)
XYZxyz(16.7773, 20.6828, 40.6364)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A87A9 #A94C2A
analogous
#2AA98C #2A87A9 #2A48A9
triadic
#2A87A9 #A92A87 #87A92A
tetradic
#2A87A9 #8C2AA9 #A94C2A #48A92A
square
#2A87A9 #8C2AA9 #A94C2A #48A92A
split-complementary
#2A87A9 #A92A48 #A98C2A
monochromatic
#123947 #1E6078 #2A87A9 #41A9D0 #72BFDC

Accessibility & contrast

On white

4.09
#2A87A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#2A87A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A87A9
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A87A9#FFFFFF#000000##000000
##2A87A91.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7584AB
Deuteranopia (green-blind)
#6478A9
Tritanopia (blue-blind)
#009192
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2a87a9;
/* rgb */ color: rgb(42, 135, 169);
/* oklch */ color: oklch(58.5% 0.099 227.0);
Tailwind
colors: {
  custom: {
    50: '#76aac2',
    500: '#2a87a9',
    950: '#000000',
  },
}
SCSS
$custom: #2a87a9;
$custom-light: #76aac2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a87a9",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 169
  },
  "hsl": {
    "h": 196.063,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.58498,
    "c": 0.0986,
    "h": 227
  },
  "luminance": 0.20685
}

Semantic roles & 50–950 ramp

primary
#2A87A9
secondary
#C3836C
accent
#6F44E3
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2A87A9

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

Preview Lab → · Contrast checker → · Palette generator →

#2A87A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva