#2B6AC5#2B6AC5

#2B6AC5 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.3% C 0.156 H 258.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2B6AC5
RGBrgb(43, 106, 197)
HSLhsl(215, 64%, 47%)
HSVhsv(215, 78%, 77%)
CMYKcmyk(78.2%, 46.2%, 0%, 22.7%)
CIE-LABlab(45.43, 12.58, -53.20)
CIE-LCHlch(45.43, 54.67, 283.31°)
OKLaboklab(53.33% -0.0321 -0.1527)
OKLCHoklch(53.33% 0.156 258.1)
XYZxyz(16.2246, 14.8510, 54.8239)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6AC5 #C5862B
analogous
#2BB7C5 #2B6AC5 #392BC5
triadic
#2B6AC5 #C52B6A #6AC52B
tetradic
#2B6AC5 #C52BB7 #C5862B #2BC539
square
#2B6AC5 #C52BB7 #C5862B #2BC539
split-complementary
#2B6AC5 #C5392B #B7C52B
monochromatic
#153461 #204F93 #2B6AC5 #548ADA #86ADE5

Accessibility & contrast

On white

5.29
#2B6AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2B6AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6AC5
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6AC5#FFFFFF#000000##FFFFFF
##2B6AC51.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3973C8
Deuteranopia (green-blind)
#1165C3
Tritanopia (blue-blind)
#00808E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b6ac5;
/* rgb */ color: rgb(43, 106, 197);
/* oklch */ color: oklch(53.3% 0.156 258.1);
Tailwind
colors: {
  custom: {
    50: '#7b94d7',
    500: '#2b6ac5',
    950: '#000000',
  },
}
SCSS
$custom: #2b6ac5;
$custom-light: #7b94d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6ac5",
  "rgb": {
    "r": 43,
    "g": 106,
    "b": 197
  },
  "hsl": {
    "h": 215.455,
    "s": 64.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53333,
    "c": 0.15602,
    "h": 258.1
  },
  "luminance": 0.14853
}

Semantic roles & 50–950 ramp

primary
#2B6AC5
secondary
#CEAD7E
accent
#A341E7
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2B6AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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