#2B6BB7#2B6BB7

#2B6BB7 is a mid, vivid cyan. Relative luminance 0.144; OKLCH L 52.6% C 0.136 H 254.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2B6BB7
RGBrgb(43, 107, 183)
HSLhsl(213, 62%, 44%)
HSVhsv(213, 77%, 72%)
CMYKcmyk(76.5%, 41.5%, 0%, 28.2%)
CIE-LABlab(44.87, 6.63, -45.99)
CIE-LCHlch(44.87, 46.47, 278.20°)
OKLaboklab(52.62% -0.0357 -0.1315)
OKLCHoklch(52.62% 0.136 254.8)
XYZxyz(14.7980, 14.4462, 46.7990)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6BB7 #B7772B
analogous
#2BB1B7 #2B6BB7 #312BB7
triadic
#2B6BB7 #B72B6B #6BB72B
tetradic
#2B6BB7 #B72BB1 #B7772B #2BB731
square
#2B6BB7 #B72BB1 #B7772B #2BB731
split-complementary
#2B6BB7 #B7312B #B1B72B
monochromatic
#143154 #1F4E85 #2B6BB7 #4B8AD5 #7CAAE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B6BB7#FFFFFF#000000##FFFFFF
##2B6BB71.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)
#4671BA
Deuteranopia (green-blind)
#2E64B5
Tritanopia (blue-blind)
#007D88
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b6bb7;
/* rgb */ color: rgb(43, 107, 183);
/* oklch */ color: oklch(52.6% 0.136 254.8);
Tailwind
colors: {
  custom: {
    50: '#7894cd',
    500: '#2b6bb7',
    950: '#000000',
  },
}
SCSS
$custom: #2b6bb7;
$custom-light: #7894cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6bb7",
  "rgb": {
    "r": 43,
    "g": 107,
    "b": 183
  },
  "hsl": {
    "h": 212.571,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52622,
    "c": 0.13624,
    "h": 254.8
  },
  "luminance": 0.14448
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B6BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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