#2B8FB7#2B8FB7

#2B8FB7 is a mid, moderate cyan. Relative luminance 0.236; OKLCH L 61.1% C 0.107 H 229.6°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#2B8FB7
RGBrgb(43, 143, 183)
HSLhsl(197, 62%, 44%)
HSVhsv(197, 77%, 72%)
CMYKcmyk(76.5%, 21.9%, 0%, 28.2%)
CIE-LABlab(55.66, -14.68, -29.00)
CIE-LCHlch(55.66, 32.50, 243.16°)
OKLaboklab(61.14% -0.0694 -0.0815)
OKLCHoklch(61.14% 0.107 229.6)
XYZxyz(19.3625, 23.5751, 48.3205)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8FB7 #B7532B
analogous
#2BB799 #2B8FB7 #2B49B7
triadic
#2B8FB7 #B72B8F #8FB72B
tetradic
#2B8FB7 #992BB7 #B7532B #49B72B
square
#2B8FB7 #992BB7 #B7532B #49B72B
split-complementary
#2B8FB7 #B72B49 #B7992B
monochromatic
#144254 #1F6885 #2B8FB7 #4BADD5 #7CC4E0

Accessibility & contrast

On white

3.67
#2B8FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#2B8FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8FB7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8FB7#FFFFFF#000000##000000
##2B8FB71.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8DB9
Deuteranopia (green-blind)
#687FB6
Tritanopia (blue-blind)
#009A9C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2b8fb7;
/* rgb */ color: rgb(43, 143, 183);
/* oklch */ color: oklch(61.1% 0.107 229.6);
Tailwind
colors: {
  custom: {
    50: '#79afcc',
    500: '#2b8fb7',
    950: '#000000',
  },
}
SCSS
$custom: #2b8fb7;
$custom-light: #79afcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8fb7",
  "rgb": {
    "r": 43,
    "g": 143,
    "b": 183
  },
  "hsl": {
    "h": 197.143,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.61144,
    "c": 0.10708,
    "h": 229.6
  },
  "luminance": 0.23577
}

Semantic roles & 50–950 ramp

primary
#2B8FB7
secondary
#C98D75
accent
#7143E5
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #2B8FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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