#2B6BBA#2B6BBA

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

Color values

HEX#2B6BBA
RGBrgb(43, 107, 186)
HSLhsl(213, 62%, 45%)
HSVhsv(213, 77%, 73%)
CMYKcmyk(76.9%, 42.5%, 0%, 27.1%)
CIE-LABlab(45.04, 7.77, -47.45)
CIE-LCHlch(45.04, 48.09, 279.29°)
OKLaboklab(52.82% -0.035 -0.1358)
OKLCHoklch(52.82% 0.14 255.5)
XYZxyz(15.1136, 14.5724, 48.4611)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6BBA #BA7A2B
analogous
#2BB2BA #2B6BBA #332BBA
triadic
#2B6BBA #BA2B6B #6BBA2B
tetradic
#2B6BBA #BA2BB2 #BA7A2B #2BBA33
square
#2B6BBA #BA2BB2 #BA7A2B #2BBA33
split-complementary
#2B6BBA #BA332B #B2BA2B
monochromatic
#143257 #204E88 #2B6BBA #4C8AD6 #7EABE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B6BBA#FFFFFF#000000##FFFFFF
##2B6BBA1.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)
#4472BD
Deuteranopia (green-blind)
#2A65B8
Tritanopia (blue-blind)
#007E89
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2b6bba;
/* rgb */ color: rgb(43, 107, 186);
/* oklch */ color: oklch(52.8% 0.140 255.5);
Tailwind
colors: {
  custom: {
    50: '#7994cf',
    500: '#2b6bba',
    950: '#000000',
  },
}
SCSS
$custom: #2b6bba;
$custom-light: #7994cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6bba",
  "rgb": {
    "r": 43,
    "g": 107,
    "b": 186
  },
  "hsl": {
    "h": 213.147,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52817,
    "c": 0.14022,
    "h": 255.5
  },
  "luminance": 0.14574
}

Semantic roles & 50–950 ramp

primary
#2B6BBA
secondary
#CAA577
accent
#9C42E6
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2B6BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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