#2A87AA#2A87AA

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

Color values

HEX#2A87AA
RGBrgb(42, 135, 170)
HSLhsl(196, 60%, 42%)
HSVhsv(196, 75%, 67%)
CMYKcmyk(75.3%, 20.6%, 0%, 33.3%)
CIE-LABlab(52.64, -14.87, -26.23)
CIE-LCHlch(52.64, 30.15, 240.45°)
OKLaboklab(58.55% -0.0668 -0.0736)
OKLCHoklch(58.55% 0.099 227.8)
XYZxyz(16.8716, 20.7205, 41.1327)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A87AA #AA4D2A
analogous
#2AAA8D #2A87AA #2A47AA
triadic
#2A87AA #AA2A87 #87AA2A
tetradic
#2A87AA #8D2AAA #AA4D2A #47AA2A
square
#2A87AA #8D2AAA #AA4D2A #47AA2A
split-complementary
#2A87AA #AA2A47 #AA8D2A
monochromatic
#123948 #1E6079 #2A87AA #41A9D0 #72BFDC

Accessibility & contrast

On white

4.08
#2A87AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A87AA#FFFFFF#000000##000000
##2A87AA1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7485AC
Deuteranopia (green-blind)
#6378AA
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2a87aa;
/* rgb */ color: rgb(42, 135, 170);
/* oklch */ color: oklch(58.5% 0.099 227.8);
Tailwind
colors: {
  custom: {
    50: '#76aac3',
    500: '#2a87aa',
    950: '#000000',
  },
}
SCSS
$custom: #2a87aa;
$custom-light: #76aac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a87aa",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 170
  },
  "hsl": {
    "h": 196.406,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.58545,
    "c": 0.09943,
    "h": 227.8
  },
  "luminance": 0.20722
}

Semantic roles & 50–950 ramp

primary
#2A87AA
secondary
#C3846C
accent
#7044E4
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2A87AA

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

Preview Lab → · Contrast checker → · Palette generator →

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