#2A8EB7#2A8EB7

#2A8EB7 is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 60.9% C 0.108 H 230.3°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#2A8EB7
RGBrgb(42, 142, 183)
HSLhsl(197, 63%, 44%)
HSVhsv(197, 77%, 72%)
CMYKcmyk(77%, 22.4%, 0%, 28.2%)
CIE-LABlab(55.33, -14.24, -29.51)
CIE-LCHlch(55.33, 32.77, 244.24°)
OKLaboklab(60.88% -0.0689 -0.083)
OKLCHoklch(60.88% 0.108 230.3)
XYZxyz(19.1716, 23.2548, 48.2688)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8EB7 #B7532A
analogous
#2AB79A #2A8EB7 #2A47B7
triadic
#2A8EB7 #B72A8E #8EB72A
tetradic
#2A8EB7 #9A2AB7 #B7532A #47B72A
square
#2A8EB7 #9A2AB7 #B7532A #47B72A
split-complementary
#2A8EB7 #B72A47 #B79A2A
monochromatic
#134153 #1F6785 #2A8EB7 #49ACD5 #7BC3E1

Accessibility & contrast

On white

3.72
#2A8EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#2A8EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8EB7
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8EB7#FFFFFF#000000##000000
##2A8EB71.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#798CB9
Deuteranopia (green-blind)
#667FB6
Tritanopia (blue-blind)
#00999C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2a8eb7;
/* rgb */ color: rgb(42, 142, 183);
/* oklch */ color: oklch(60.9% 0.108 230.3);
Tailwind
colors: {
  custom: {
    50: '#79afcc',
    500: '#2a8eb7',
    950: '#000000',
  },
}
SCSS
$custom: #2a8eb7;
$custom-light: #79afcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8eb7",
  "rgb": {
    "r": 42,
    "g": 142,
    "b": 183
  },
  "hsl": {
    "h": 197.447,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.60878,
    "c": 0.10787,
    "h": 230.3
  },
  "luminance": 0.23257
}

Semantic roles & 50–950 ramp

primary
#2A8EB7
secondary
#C98D74
accent
#7242E6
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2A8EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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