#2B8EC6#2B8EC6

#2B8EC6 is a mid, vivid cyan. Relative luminance 0.239; OKLCH L 61.7% C 0.122 H 238.8°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#2B8EC6
RGBrgb(43, 142, 198)
HSLhsl(202, 64%, 47%)
HSVhsv(202, 78%, 78%)
CMYKcmyk(78.3%, 28.3%, 0%, 22.4%)
CIE-LABlab(56.02, -8.85, -36.95)
CIE-LCHlch(56.02, 38.00, 256.53°)
OKLaboklab(61.65% -0.0633 -0.1045)
OKLCHoklch(61.65% 0.122 238.8)
XYZxyz(20.8583, 23.9343, 56.9356)
Luminance0.2394 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8EC6 #C6632B
analogous
#2BC6B0 #2B8EC6 #2B41C6
triadic
#2B8EC6 #C62B8E #8EC62B
tetradic
#2B8EC6 #B02BC6 #C6632B #41C62B
square
#2B8EC6 #B02BC6 #C6632B #41C62B
split-complementary
#2B8EC6 #C62B41 #C6B02B
monochromatic
#154661 #206A94 #2B8EC6 #54AADA #87C3E5

Accessibility & contrast

On white

3.63
#2B8EC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#2B8EC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8EC6
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8EC6#FFFFFF#000000##000000
##2B8EC61.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#738EC9
Deuteranopia (green-blind)
#5E80C5
Tritanopia (blue-blind)
#009CA1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2b8ec6;
/* rgb */ color: rgb(43, 142, 198);
/* oklch */ color: oklch(61.7% 0.122 238.8);
Tailwind
colors: {
  custom: {
    50: '#7caed7',
    500: '#2b8ec6',
    950: '#000000',
  },
}
SCSS
$custom: #2b8ec6;
$custom-light: #7caed7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8ec6",
  "rgb": {
    "r": 43,
    "g": 142,
    "b": 198
  },
  "hsl": {
    "h": 201.677,
    "s": 64.315,
    "l": 47.255
  },
  "oklch": {
    "l": 0.61651,
    "c": 0.1222,
    "h": 238.8
  },
  "luminance": 0.23937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B8EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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