#2B6CB7#2B6CB7

#2B6CB7 is a mid, vivid cyan. Relative luminance 0.147; OKLCH L 52.9% C 0.135 H 254.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#2B6CB7
RGBrgb(43, 108, 183)
HSLhsl(212, 62%, 44%)
HSVhsv(212, 77%, 72%)
CMYKcmyk(76.5%, 41%, 0%, 28.2%)
CIE-LABlab(45.16, 6.00, -45.53)
CIE-LCHlch(45.16, 45.92, 277.51°)
OKLaboklab(52.85% -0.0366 -0.1301)
OKLCHoklch(52.85% 0.135 254.3)
XYZxyz(14.9029, 14.6559, 46.8340)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6CB7 #B7762B
analogous
#2BB2B7 #2B6CB7 #302BB7
triadic
#2B6CB7 #B72B6C #6CB72B
tetradic
#2B6CB7 #B72BB2 #B7762B #2BB730
square
#2B6CB7 #B72BB2 #B7762B #2BB730
split-complementary
#2B6CB7 #B7302B #B2B72B
monochromatic
#143254 #1F4F85 #2B6CB7 #4B8BD5 #7CABE0

Accessibility & contrast

On white

5.34
#2B6CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2B6CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6CB7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6CB7#FFFFFF#000000##FFFFFF
##2B6CB71.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4872BA
Deuteranopia (green-blind)
#3065B6
Tritanopia (blue-blind)
#007E88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2b6cb7;
/* rgb */ color: rgb(43, 108, 183);
/* oklch */ color: oklch(52.9% 0.135 254.3);
Tailwind
colors: {
  custom: {
    50: '#7895cd',
    500: '#2b6cb7',
    950: '#000000',
  },
}
SCSS
$custom: #2b6cb7;
$custom-light: #7895cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6cb7",
  "rgb": {
    "r": 43,
    "g": 108,
    "b": 183
  },
  "hsl": {
    "h": 212.143,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52851,
    "c": 0.13513,
    "h": 254.3
  },
  "luminance": 0.14658
}

Semantic roles & 50–950 ramp

primary
#2B6CB7
secondary
#C9A275
accent
#9A43E5
background
#F7F9FC
surface
#EEF1F9
border
#C9CBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2B6CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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