#2A8BB5#2A8BB5

#2A8BB5 is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.1% C 0.107 H 231.6°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#2A8BB5
RGBrgb(42, 139, 181)
HSLhsl(198, 62%, 44%)
HSVhsv(198, 77%, 71%)
CMYKcmyk(76.8%, 23.2%, 0%, 29%)
CIE-LABlab(54.33, -13.27, -29.92)
CIE-LCHlch(54.33, 32.73, 246.08°)
OKLaboklab(60.05% -0.0667 -0.0842)
OKLCHoklch(60.05% 0.107 231.6)
XYZxyz(18.5246, 22.2915, 47.0335)
Luminance0.2229 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8BB5 #B5542A
analogous
#2AB599 #2A8BB5 #2A46B5
triadic
#2A8BB5 #B52A8B #8BB52A
tetradic
#2A8BB5 #992AB5 #B5542A #46B52A
square
#2A8BB5 #992AB5 #B5542A #46B52A
split-complementary
#2A8BB5 #B52A46 #B5992A
monochromatic
#133F52 #1E6583 #2A8BB5 #48AAD4 #79C1E0

Accessibility & contrast

On white

3.85
#2A8BB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#2A8BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8BB5
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8BB5#FFFFFF#000000##000000
##2A8BB51.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7689B7
Deuteranopia (green-blind)
#637CB4
Tritanopia (blue-blind)
#009699
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2a8bb5;
/* rgb */ color: rgb(42, 139, 181);
/* oklch */ color: oklch(60.1% 0.107 231.6);
Tailwind
colors: {
  custom: {
    50: '#78accb',
    500: '#2a8bb5',
    950: '#000000',
  },
}
SCSS
$custom: #2a8bb5;
$custom-light: #78accb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8bb5",
  "rgb": {
    "r": 42,
    "g": 139,
    "b": 181
  },
  "hsl": {
    "h": 198.129,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.60052,
    "c": 0.10744,
    "h": 231.6
  },
  "luminance": 0.22294
}

Semantic roles & 50–950 ramp

primary
#2A8BB5
secondary
#C88D73
accent
#7442E5
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2A8BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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