#2A88B3#2A88B3

#2A88B3 is a mid, moderate cyan. Relative luminance 0.214; OKLCH L 59.2% C 0.107 H 232.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2A88B3
RGBrgb(42, 136, 179)
HSLhsl(199, 62%, 43%)
HSVhsv(199, 77%, 70%)
CMYKcmyk(76.5%, 24%, 0%, 29.8%)
CIE-LABlab(53.33, -12.29, -30.33)
CIE-LCHlch(53.33, 32.73, 247.94°)
OKLaboklab(59.23% -0.0645 -0.0854)
OKLCHoklch(59.23% 0.107 232.9)
XYZxyz(17.8924, 21.3531, 45.8176)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A88B3 #B3552A
analogous
#2AB399 #2A88B3 #2A43B3
triadic
#2A88B3 #B32A88 #88B32A
tetradic
#2A88B3 #992AB3 #B3552A #43B32A
square
#2A88B3 #992AB3 #B3552A #43B32A
split-complementary
#2A88B3 #B32A43 #B3992A
monochromatic
#133D50 #1E6281 #2A88B3 #46A7D4 #78BFDF

Accessibility & contrast

On white

3.98
#2A88B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#2A88B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A88B3
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A88B3#FFFFFF#000000##000000
##2A88B31.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7387B5
Deuteranopia (green-blind)
#607AB2
Tritanopia (blue-blind)
#009397
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2a88b3;
/* rgb */ color: rgb(42, 136, 179);
/* oklch */ color: oklch(59.2% 0.107 232.9);
Tailwind
colors: {
  custom: {
    50: '#78aaca',
    500: '#2a88b3',
    950: '#000000',
  },
}
SCSS
$custom: #2a88b3;
$custom-light: #78aaca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a88b3",
  "rgb": {
    "r": 42,
    "g": 136,
    "b": 179
  },
  "hsl": {
    "h": 198.832,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.59225,
    "c": 0.10705,
    "h": 232.9
  },
  "luminance": 0.21355
}

Semantic roles & 50–950 ramp

primary
#2A88B3
secondary
#C78C72
accent
#7643E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2A88B3

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

Preview Lab → · Contrast checker → · Palette generator →

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