#2A8DB7#2A8DB7

#2A8DB7 is a mid, moderate cyan. Relative luminance 0.230; OKLCH L 60.6% C 0.108 H 231.2°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#2A8DB7
RGBrgb(42, 141, 183)
HSLhsl(198, 63%, 44%)
HSVhsv(198, 77%, 72%)
CMYKcmyk(77%, 23%, 0%, 28.2%)
CIE-LABlab(55.03, -13.69, -29.98)
CIE-LCHlch(55.03, 32.96, 245.46°)
OKLaboklab(60.63% -0.0679 -0.0844)
OKLCHoklch(60.63% 0.108 231.2)
XYZxyz(19.0235, 22.9586, 48.2194)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8DB7 #B7542A
analogous
#2AB79B #2A8DB7 #2A47B7
triadic
#2A8DB7 #B72A8D #8DB72A
tetradic
#2A8DB7 #9B2AB7 #B7542A #47B72A
square
#2A8DB7 #9B2AB7 #B7542A #47B72A
split-complementary
#2A8DB7 #B72A47 #B79B2A
monochromatic
#134053 #1F6785 #2A8DB7 #49ABD5 #7BC2E1

Accessibility & contrast

On white

3.76
#2A8DB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#2A8DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8DB7
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8DB7#FFFFFF#000000##000000
##2A8DB71.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#788BB9
Deuteranopia (green-blind)
#657EB6
Tritanopia (blue-blind)
#00989B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2a8db7;
/* rgb */ color: rgb(42, 141, 183);
/* oklch */ color: oklch(60.6% 0.108 231.2);
Tailwind
colors: {
  custom: {
    50: '#79aecc',
    500: '#2a8db7',
    950: '#000000',
  },
}
SCSS
$custom: #2a8db7;
$custom-light: #79aecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8db7",
  "rgb": {
    "r": 42,
    "g": 141,
    "b": 183
  },
  "hsl": {
    "h": 197.872,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.60635,
    "c": 0.10832,
    "h": 231.2
  },
  "luminance": 0.22961
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A8DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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