#2B6CB5#2B6CB5

#2B6CB5 is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.7% C 0.133 H 253.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2B6CB5
RGBrgb(43, 108, 181)
HSLhsl(212, 62%, 44%)
HSVhsv(212, 76%, 71%)
CMYKcmyk(76.2%, 40.3%, 0%, 29%)
CIE-LABlab(45.04, 5.24, -44.55)
CIE-LCHlch(45.04, 44.85, 276.71°)
OKLaboklab(52.72% -0.037 -0.1272)
OKLCHoklch(52.72% 0.133 253.8)
XYZxyz(14.6962, 14.5732, 45.7455)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6CB5 #B5742B
analogous
#2BB1B5 #2B6CB5 #2F2BB5
triadic
#2B6CB5 #B52B6C #6CB52B
tetradic
#2B6CB5 #B52BB1 #B5742B #2BB52F
square
#2B6CB5 #B52BB1 #B5742B #2BB52F
split-complementary
#2B6CB5 #B52F2B #B1B52B
monochromatic
#143152 #1F4E84 #2B6CB5 #498BD4 #7BAAE0

Accessibility & contrast

On white

5.36
#2B6CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2B6CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6CB5
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6CB5#FFFFFF#000000##FFFFFF
##2B6CB51.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4971B8
Deuteranopia (green-blind)
#3365B4
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2b6cb5;
/* rgb */ color: rgb(43, 108, 181);
/* oklch */ color: oklch(52.7% 0.133 253.8);
Tailwind
colors: {
  custom: {
    50: '#7895cb',
    500: '#2b6cb5',
    950: '#000000',
  },
}
SCSS
$custom: #2b6cb5;
$custom-light: #7895cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6cb5",
  "rgb": {
    "r": 43,
    "g": 108,
    "b": 181
  },
  "hsl": {
    "h": 211.739,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52723,
    "c": 0.1325,
    "h": 253.8
  },
  "luminance": 0.14575
}

Semantic roles & 50–950 ramp

primary
#2B6CB5
secondary
#C8A074
accent
#9943E5
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2B6CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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