#2B8DC7#2B8DC7

#2B8DC7 is a mid, vivid cyan. Relative luminance 0.237; OKLCH L 61.5% C 0.124 H 240.0°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#2B8DC7
RGBrgb(43, 141, 199)
HSLhsl(202, 64%, 47%)
HSVhsv(202, 78%, 78%)
CMYKcmyk(78.4%, 29.1%, 0%, 22%)
CIE-LABlab(55.77, -7.92, -37.91)
CIE-LCHlch(55.77, 38.73, 258.20°)
OKLaboklab(61.47% -0.0621 -0.1073)
OKLCHoklch(61.47% 0.124 240)
XYZxyz(20.8259, 23.6843, 57.4957)
Luminance0.2369 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8DC7 #C7652B
analogous
#2BC7B3 #2B8DC7 #2B3FC7
triadic
#2B8DC7 #C72B8D #8DC72B
tetradic
#2B8DC7 #B32BC7 #C7652B #3FC72B
square
#2B8DC7 #B32BC7 #C7652B #3FC72B
split-complementary
#2B8DC7 #C72B3F #C7B32B
monochromatic
#154662 #206995 #2B8DC7 #55A9DA #87C2E5

Accessibility & contrast

On white

3.66
#2B8DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#2B8DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8DC7
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8DC7#FFFFFF#000000##000000
##2B8DC71.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#728ECA
Deuteranopia (green-blind)
#5C7FC6
Tritanopia (blue-blind)
#009CA1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2b8dc7;
/* rgb */ color: rgb(43, 141, 199);
/* oklch */ color: oklch(61.5% 0.124 240.0);
Tailwind
colors: {
  custom: {
    50: '#7caed8',
    500: '#2b8dc7',
    950: '#000000',
  },
}
SCSS
$custom: #2b8dc7;
$custom-light: #7caed8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8dc7",
  "rgb": {
    "r": 43,
    "g": 141,
    "b": 199
  },
  "hsl": {
    "h": 202.308,
    "s": 64.463,
    "l": 47.451
  },
  "oklch": {
    "l": 0.61467,
    "c": 0.12399,
    "h": 240
  },
  "luminance": 0.23687
}

Semantic roles & 50–950 ramp

primary
#2B8DC7
secondary
#CF9D7F
accent
#7E40E7
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B1014
muted
#7C7F83

Preview Lab

Preview with #2B8DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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