#2A87A2#2A87A2

#2A87A2 is a mid, moderate cyan. Relative luminance 0.204; OKLCH L 58.2% C 0.093 H 221.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2A87A2
RGBrgb(42, 135, 162)
HSLhsl(194, 59%, 40%)
HSVhsv(194, 74%, 64%)
CMYKcmyk(74.1%, 16.7%, 0%, 36.5%)
CIE-LABlab(52.32, -17.60, -22.11)
CIE-LCHlch(52.32, 28.26, 231.48°)
OKLaboklab(58.18% -0.0699 -0.0618)
OKLCHoklch(58.18% 0.093 221.5)
XYZxyz(16.1377, 20.4269, 37.2677)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A87A2 #A2452A
analogous
#2AA281 #2A87A2 #2A4BA2
triadic
#2A87A2 #A22A87 #87A22A
tetradic
#2A87A2 #812AA2 #A2452A #4BA22A
square
#2A87A2 #812AA2 #A2452A #4BA22A
split-complementary
#2A87A2 #A22A4B #A2812A
monochromatic
#113641 #1D5F71 #2A87A2 #3DACCD #6DC1D9

Accessibility & contrast

On white

4.13
#2A87A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#2A87A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A87A2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A87A2#FFFFFF#000000##000000
##2A87A21.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7784A3
Deuteranopia (green-blind)
#6778A2
Tritanopia (blue-blind)
#009090
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2a87a2;
/* rgb */ color: rgb(42, 135, 162);
/* oklch */ color: oklch(58.2% 0.093 221.5);
Tailwind
colors: {
  custom: {
    50: '#75aabd',
    500: '#2a87a2',
    950: '#000000',
  },
}
SCSS
$custom: #2a87a2;
$custom-light: #75aabd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a87a2",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 162
  },
  "hsl": {
    "h": 193.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.58176,
    "c": 0.09336,
    "h": 221.5
  },
  "luminance": 0.20429
}

Semantic roles & 50–950 ramp

primary
#2A87A2
secondary
#C07C68
accent
#6946E2
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2A87A2

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

Preview Lab → · Contrast checker → · Palette generator →

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