#2B6BB2#2B6BB2

#2B6BB2 is a mid, vivid cyan. Relative luminance 0.142; OKLCH L 52.3% C 0.130 H 253.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#2B6BB2
RGBrgb(43, 107, 178)
HSLhsl(212, 61%, 43%)
HSVhsv(212, 76%, 70%)
CMYKcmyk(75.8%, 39.9%, 0%, 30.2%)
CIE-LABlab(44.58, 4.74, -43.54)
CIE-LCHlch(44.58, 43.80, 276.21°)
OKLaboklab(52.3% -0.0368 -0.1243)
OKLCHoklch(52.3% 0.13 253.5)
XYZxyz(14.2868, 14.2417, 44.1068)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6BB2 #B2722B
analogous
#2BAEB2 #2B6BB2 #2F2BB2
triadic
#2B6BB2 #B22B6B #6BB22B
tetradic
#2B6BB2 #B22BAE #B2722B #2BB22F
square
#2B6BB2 #B22BAE #B2722B #2BB22F
split-complementary
#2B6BB2 #B22F2B #AEB22B
monochromatic
#13304F #1F4D81 #2B6BB2 #4889D3 #79A9DF

Accessibility & contrast

On white

5.46
#2B6BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#2B6BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6BB2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6BB2#FFFFFF#000000##FFFFFF
##2B6BB21.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4970B5
Deuteranopia (green-blind)
#3464B1
Tritanopia (blue-blind)
#007C86
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2b6bb2;
/* rgb */ color: rgb(43, 107, 178);
/* oklch */ color: oklch(52.3% 0.130 253.5);
Tailwind
colors: {
  custom: {
    50: '#7794c9',
    500: '#2b6bb2',
    950: '#000000',
  },
}
SCSS
$custom: #2b6bb2;
$custom-light: #7794c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6bb2",
  "rgb": {
    "r": 43,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 211.556,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52304,
    "c": 0.12962,
    "h": 253.5
  },
  "luminance": 0.14243
}

Semantic roles & 50–950 ramp

primary
#2B6BB2
secondary
#C79F72
accent
#9844E4
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2B6BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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