#2A88AA#2A88AA

#2A88AA is a mid, moderate cyan. Relative luminance 0.210; OKLCH L 58.8% C 0.099 H 226.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2A88AA
RGBrgb(42, 136, 170)
HSLhsl(196, 60%, 42%)
HSVhsv(196, 75%, 67%)
CMYKcmyk(75.3%, 20%, 0%, 33.3%)
CIE-LABlab(52.95, -15.42, -25.75)
CIE-LCHlch(52.95, 30.02, 239.09°)
OKLaboklab(58.79% -0.0678 -0.0722)
OKLCHoklch(58.79% 0.099 226.8)
XYZxyz(17.0117, 21.0008, 41.1794)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A88AA #AA4C2A
analogous
#2AAA8C #2A88AA #2A48AA
triadic
#2A88AA #AA2A88 #88AA2A
tetradic
#2A88AA #8C2AAA #AA4C2A #48AA2A
square
#2A88AA #8C2AAA #AA4C2A #48AA2A
split-complementary
#2A88AA #AA2A48 #AA8C2A
monochromatic
#123948 #1E6179 #2A88AA #41AAD0 #72C0DC

Accessibility & contrast

On white

4.04
#2A88AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#2A88AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A88AA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A88AA#FFFFFF#000000##000000
##2A88AA1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7685AC
Deuteranopia (green-blind)
#6479AA
Tritanopia (blue-blind)
#009293
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2a88aa;
/* rgb */ color: rgb(42, 136, 170);
/* oklch */ color: oklch(58.8% 0.099 226.8);
Tailwind
colors: {
  custom: {
    50: '#76aac3',
    500: '#2a88aa',
    950: '#000000',
  },
}
SCSS
$custom: #2a88aa;
$custom-light: #76aac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a88aa",
  "rgb": {
    "r": 42,
    "g": 136,
    "b": 170
  },
  "hsl": {
    "h": 195.938,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.58792,
    "c": 0.0991,
    "h": 226.8
  },
  "luminance": 0.21003
}

Semantic roles & 50–950 ramp

primary
#2A88AA
secondary
#C3836C
accent
#6F44E4
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2A88AA

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

Preview Lab → · Contrast checker → · Palette generator →

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