#2B8EC7#2B8EC7

#2B8EC7 is a mid, vivid cyan. Relative luminance 0.240; OKLCH L 61.7% C 0.123 H 239.3°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#2B8EC7
RGBrgb(43, 142, 199)
HSLhsl(202, 64%, 47%)
HSVhsv(202, 78%, 78%)
CMYKcmyk(78.4%, 28.6%, 0%, 22%)
CIE-LABlab(56.07, -8.49, -37.45)
CIE-LCHlch(56.07, 38.40, 257.22°)
OKLaboklab(61.7% -0.063 -0.106)
OKLCHoklch(61.7% 0.123 239.3)
XYZxyz(20.9740, 23.9806, 57.5451)
Luminance0.2398 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8EC7 #C7642B
analogous
#2BC7B2 #2B8EC7 #2B40C7
triadic
#2B8EC7 #C72B8E #8EC72B
tetradic
#2B8EC7 #B22BC7 #C7642B #40C72B
square
#2B8EC7 #B22BC7 #C7642B #40C72B
split-complementary
#2B8EC7 #C72B40 #C7B22B
monochromatic
#154662 #206A95 #2B8EC7 #55AADA #87C3E5

Accessibility & contrast

On white

3.62
#2B8EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#2B8EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8EC7
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8EC7#FFFFFF#000000##000000
##2B8EC71.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#738ECA
Deuteranopia (green-blind)
#5E80C6
Tritanopia (blue-blind)
#009CA2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2b8ec7;
/* rgb */ color: rgb(43, 142, 199);
/* oklch */ color: oklch(61.7% 0.123 239.3);
Tailwind
colors: {
  custom: {
    50: '#7caed8',
    500: '#2b8ec7',
    950: '#000000',
  },
}
SCSS
$custom: #2b8ec7;
$custom-light: #7caed8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8ec7",
  "rgb": {
    "r": 43,
    "g": 142,
    "b": 199
  },
  "hsl": {
    "h": 201.923,
    "s": 64.463,
    "l": 47.451
  },
  "oklch": {
    "l": 0.61704,
    "c": 0.12327,
    "h": 239.3
  },
  "luminance": 0.23983
}

Semantic roles & 50–950 ramp

primary
#2B8EC7
secondary
#CF9C7F
accent
#7D40E7
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B1014
muted
#7C7F83

Preview Lab

Preview with #2B8EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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