#2A88B7#2A88B7

#2A88B7 is a mid, moderate cyan. Relative luminance 0.215; OKLCH L 59.4% C 0.111 H 235.3°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2A88B7
RGBrgb(42, 136, 183)
HSLhsl(200, 63%, 44%)
HSVhsv(200, 77%, 72%)
CMYKcmyk(77%, 25.7%, 0%, 28.2%)
CIE-LABlab(53.51, -10.88, -32.35)
CIE-LCHlch(53.51, 34.13, 251.40°)
OKLaboklab(59.42% -0.0631 -0.0912)
OKLCHoklch(59.42% 0.111 235.3)
XYZxyz(18.3028, 21.5173, 47.9792)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A88B7 #B7592A
analogous
#2AB7A0 #2A88B7 #2A42B7
triadic
#2A88B7 #B72A88 #88B72A
tetradic
#2A88B7 #A02AB7 #B7592A #42B72A
square
#2A88B7 #A02AB7 #B7592A #42B72A
split-complementary
#2A88B7 #B72A42 #B7A02A
monochromatic
#133E53 #1F6385 #2A88B7 #49A6D5 #7BBFE1

Accessibility & contrast

On white

3.96
#2A88B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#2A88B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A88B7
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A88B7#FFFFFF#000000##000000
##2A88B71.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7187B9
Deuteranopia (green-blind)
#5E7AB6
Tritanopia (blue-blind)
#009498
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2a88b7;
/* rgb */ color: rgb(42, 136, 183);
/* oklch */ color: oklch(59.4% 0.111 235.3);
Tailwind
colors: {
  custom: {
    50: '#79aacc',
    500: '#2a88b7',
    950: '#000000',
  },
}
SCSS
$custom: #2a88b7;
$custom-light: #79aacc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a88b7",
  "rgb": {
    "r": 42,
    "g": 136,
    "b": 183
  },
  "hsl": {
    "h": 200,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.59424,
    "c": 0.11095,
    "h": 235.3
  },
  "luminance": 0.21519
}

Semantic roles & 50–950 ramp

primary
#2A88B7
secondary
#C99074
accent
#7942E6
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2A88B7

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

Preview Lab → · Contrast checker → · Palette generator →

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