#2A87A3#2A87A3

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

Color values

HEX#2A87A3
RGBrgb(42, 135, 163)
HSLhsl(194, 59%, 40%)
HSVhsv(194, 74%, 64%)
CMYKcmyk(74.2%, 17.2%, 0%, 36.1%)
CIE-LABlab(52.36, -17.26, -22.63)
CIE-LCHlch(52.36, 28.46, 232.66°)
OKLaboklab(58.22% -0.0695 -0.0633)
OKLCHoklch(58.22% 0.094 222.3)
XYZxyz(16.2269, 20.4626, 37.7377)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A87A3 #A3462A
analogous
#2AA382 #2A87A3 #2A4BA3
triadic
#2A87A3 #A32A87 #87A32A
tetradic
#2A87A3 #822AA3 #A3462A #4BA32A
square
#2A87A3 #822AA3 #A3462A #4BA32A
split-complementary
#2A87A3 #A32A4B #A3822A
monochromatic
#113642 #1D5F72 #2A87A3 #3DACCD #6EC1DA

Accessibility & contrast

On white

4.12
#2A87A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A87A3#FFFFFF#000000##000000
##2A87A31.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a87a3;
/* rgb */ color: rgb(42, 135, 163);
/* oklch */ color: oklch(58.2% 0.094 222.3);
Tailwind
colors: {
  custom: {
    50: '#75aabe',
    500: '#2a87a3',
    950: '#000000',
  },
}
SCSS
$custom: #2a87a3;
$custom-light: #75aabe;
$custom-dark: #000000;
JSON
{
  "hex": "#2a87a3",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 163
  },
  "hsl": {
    "h": 193.884,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.58222,
    "c": 0.09405,
    "h": 222.3
  },
  "luminance": 0.20465
}

Semantic roles & 50–950 ramp

primary
#2A87A3
secondary
#C07D68
accent
#6A46E2
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2A87A3

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

Preview Lab → · Contrast checker → · Palette generator →

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