#2B6CB2#2B6CB2

#2B6CB2 is a mid, vivid cyan. Relative luminance 0.145; OKLCH L 52.5% C 0.129 H 252.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2B6CB2
RGBrgb(43, 108, 178)
HSLhsl(211, 61%, 43%)
HSVhsv(211, 76%, 70%)
CMYKcmyk(75.8%, 39.3%, 0%, 30.2%)
CIE-LABlab(44.87, 4.11, -43.07)
CIE-LCHlch(44.87, 43.26, 275.45°)
OKLaboklab(52.54% -0.0377 -0.1229)
OKLCHoklch(52.54% 0.129 252.9)
XYZxyz(14.3917, 14.4514, 44.1418)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6CB2 #B2712B
analogous
#2BAFB2 #2B6CB2 #2D2BB2
triadic
#2B6CB2 #B22B6C #6CB22B
tetradic
#2B6CB2 #B22BAF #B2712B #2BB22D
square
#2B6CB2 #B22BAF #B2712B #2BB22D
split-complementary
#2B6CB2 #B22D2B #AFB22B
monochromatic
#13304F #1F4E81 #2B6CB2 #488BD3 #79AADF

Accessibility & contrast

On white

5.40
#2B6CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2B6CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6CB2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6CB2#FFFFFF#000000##FFFFFF
##2B6CB21.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B5
Deuteranopia (green-blind)
#3664B1
Tritanopia (blue-blind)
#007D86
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b6cb2;
/* rgb */ color: rgb(43, 108, 178);
/* oklch */ color: oklch(52.5% 0.129 252.9);
Tailwind
colors: {
  custom: {
    50: '#7795c9',
    500: '#2b6cb2',
    950: '#000000',
  },
}
SCSS
$custom: #2b6cb2;
$custom-light: #7795c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6cb2",
  "rgb": {
    "r": 43,
    "g": 108,
    "b": 178
  },
  "hsl": {
    "h": 211.111,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52535,
    "c": 0.12854,
    "h": 252.9
  },
  "luminance": 0.14453
}

Semantic roles & 50–950 ramp

primary
#2B6CB2
secondary
#C79E72
accent
#9744E4
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2B6CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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