#2A8EB5#2A8EB5

#2A8EB5 is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 60.8% C 0.106 H 229.0°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#2A8EB5
RGBrgb(42, 142, 181)
HSLhsl(197, 62%, 44%)
HSVhsv(197, 77%, 71%)
CMYKcmyk(76.8%, 21.5%, 0%, 29%)
CIE-LABlab(55.25, -14.94, -28.50)
CIE-LCHlch(55.25, 32.18, 242.34°)
OKLaboklab(60.78% -0.0696 -0.0801)
OKLCHoklch(60.78% 0.106 229)
XYZxyz(18.9649, 23.1722, 47.1802)
Luminance0.2317 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8EB5 #B5512A
analogous
#2AB596 #2A8EB5 #2A48B5
triadic
#2A8EB5 #B52A8E #8EB52A
tetradic
#2A8EB5 #962AB5 #B5512A #48B52A
square
#2A8EB5 #962AB5 #B5512A #48B52A
split-complementary
#2A8EB5 #B52A48 #B5962A
monochromatic
#134052 #1E6783 #2A8EB5 #48ADD4 #79C3E0

Accessibility & contrast

On white

3.73
#2A8EB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#2A8EB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8EB5
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8EB5#FFFFFF#000000##000000
##2A8EB51.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8CB7
Deuteranopia (green-blind)
#677EB4
Tritanopia (blue-blind)
#00999B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2a8eb5;
/* rgb */ color: rgb(42, 142, 181);
/* oklch */ color: oklch(60.8% 0.106 229.0);
Tailwind
colors: {
  custom: {
    50: '#79afcb',
    500: '#2a8eb5',
    950: '#000000',
  },
}
SCSS
$custom: #2a8eb5;
$custom-light: #79afcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8eb5",
  "rgb": {
    "r": 42,
    "g": 142,
    "b": 181
  },
  "hsl": {
    "h": 196.835,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.60782,
    "c": 0.10613,
    "h": 229
  },
  "luminance": 0.23174
}

Semantic roles & 50–950 ramp

primary
#2A8EB5
secondary
#C88B73
accent
#7042E5
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2A8EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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