#2A87AE#2A87AE

#2A87AE is a mid, moderate cyan. Relative luminance 0.209; OKLCH L 58.7% C 0.103 H 230.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2A87AE
RGBrgb(42, 135, 174)
HSLhsl(198, 61%, 42%)
HSVhsv(198, 76%, 68%)
CMYKcmyk(75.9%, 22.4%, 0%, 31.8%)
CIE-LABlab(52.81, -13.48, -28.27)
CIE-LCHlch(52.81, 31.32, 244.50°)
OKLaboklab(58.74% -0.0653 -0.0795)
OKLCHoklch(58.74% 0.103 230.6)
XYZxyz(17.2557, 20.8741, 43.1559)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A87AE #AE512A
analogous
#2AAE93 #2A87AE #2A45AE
triadic
#2A87AE #AE2A87 #87AE2A
tetradic
#2A87AE #932AAE #AE512A #45AE2A
square
#2A87AE #932AAE #AE512A #45AE2A
split-complementary
#2A87AE #AE2A45 #AE932A
monochromatic
#123B4B #1E617D #2A87AE #43A8D2 #75BFDE

Accessibility & contrast

On white

4.06
#2A87AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#2A87AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A87AE
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A87AE#FFFFFF#000000##000000
##2A87AE1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7385B0
Deuteranopia (green-blind)
#6178AD
Tritanopia (blue-blind)
#009294
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2a87ae;
/* rgb */ color: rgb(42, 135, 174);
/* oklch */ color: oklch(58.7% 0.103 230.6);
Tailwind
colors: {
  custom: {
    50: '#77aac6',
    500: '#2a87ae',
    950: '#000000',
  },
}
SCSS
$custom: #2a87ae;
$custom-light: #77aac6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a87ae",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 174
  },
  "hsl": {
    "h": 197.727,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.58736,
    "c": 0.1029,
    "h": 230.6
  },
  "luminance": 0.20876
}

Semantic roles & 50–950 ramp

primary
#2A87AE
secondary
#C5886F
accent
#7344E4
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2A87AE

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

Preview Lab → · Contrast checker → · Palette generator →

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