#2B6CB6#2B6CB6

#2B6CB6 is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.8% C 0.134 H 254.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2B6CB6
RGBrgb(43, 108, 182)
HSLhsl(212, 62%, 44%)
HSVhsv(212, 76%, 71%)
CMYKcmyk(76.4%, 40.7%, 0%, 28.6%)
CIE-LABlab(45.10, 5.62, -45.04)
CIE-LCHlch(45.10, 45.39, 277.12°)
OKLaboklab(52.79% -0.0368 -0.1287)
OKLCHoklch(52.79% 0.134 254)
XYZxyz(14.7992, 14.6144, 46.2878)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6CB6 #B6752B
analogous
#2BB2B6 #2B6CB6 #2F2BB6
triadic
#2B6CB6 #B62B6C #6CB62B
tetradic
#2B6CB6 #B62BB2 #B6752B #2BB62F
square
#2B6CB6 #B62BB2 #B6752B #2BB62F
split-complementary
#2B6CB6 #B62F2B #B2B62B
monochromatic
#143153 #1F4F84 #2B6CB6 #4A8BD4 #7BAAE0

Accessibility & contrast

On white

5.35
#2B6CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2B6CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6CB6
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6CB6#FFFFFF#000000##FFFFFF
##2B6CB61.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4872B9
Deuteranopia (green-blind)
#3165B5
Tritanopia (blue-blind)
#007D88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2b6cb6;
/* rgb */ color: rgb(43, 108, 182);
/* oklch */ color: oklch(52.8% 0.134 254.0);
Tailwind
colors: {
  custom: {
    50: '#7895cc',
    500: '#2b6cb6',
    950: '#000000',
  },
}
SCSS
$custom: #2b6cb6;
$custom-light: #7895cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6cb6",
  "rgb": {
    "r": 43,
    "g": 108,
    "b": 182
  },
  "hsl": {
    "h": 211.942,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52787,
    "c": 0.13382,
    "h": 254
  },
  "luminance": 0.14616
}

Semantic roles & 50–950 ramp

primary
#2B6CB6
secondary
#C8A175
accent
#9943E5
background
#F7F9FC
surface
#EEF1F9
border
#C9CBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2B6CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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