#2B6ACC#2B6ACC

#2B6ACC is a mid, vivid blue. Relative luminance 0.152; OKLCH L 53.8% C 0.165 H 259.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2B6ACC
RGBrgb(43, 106, 204)
HSLhsl(217, 65%, 48%)
HSVhsv(217, 79%, 80%)
CMYKcmyk(78.9%, 48%, 0%, 20%)
CIE-LABlab(45.88, 15.24, -56.50)
CIE-LCHlch(45.88, 58.52, 285.10°)
OKLaboklab(53.82% -0.0309 -0.1624)
OKLCHoklch(53.82% 0.165 259.2)
XYZxyz(17.0454, 15.1793, 59.1466)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6ACC #CC8D2B
analogous
#2BBACC #2B6ACC #3D2BCC
triadic
#2B6ACC #CC2B6A #6ACC2B
tetradic
#2B6ACC #CC2BBA #CC8D2B #2BCC3D
square
#2B6ACC #CC2BBA #CC8D2B #2BCC3D
split-complementary
#2B6ACC #CC3D2B #BACC2B
monochromatic
#163567 #205099 #2B6ACC #588CDC #8BAFE7

Accessibility & contrast

On white

5.20
#2B6ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2B6ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6ACC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6ACC#FFFFFF#000000##FFFFFF
##2B6ACC1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3274D0
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#008291
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b6acc;
/* rgb */ color: rgb(43, 106, 204);
/* oklch */ color: oklch(53.8% 0.165 259.2);
Tailwind
colors: {
  custom: {
    50: '#7d93dc',
    500: '#2b6acc',
    950: '#000000',
  },
}
SCSS
$custom: #2b6acc;
$custom-light: #7d93dc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6acc",
  "rgb": {
    "r": 43,
    "g": 106,
    "b": 204
  },
  "hsl": {
    "h": 216.522,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53823,
    "c": 0.16533,
    "h": 259.2
  },
  "luminance": 0.15181
}

Semantic roles & 50–950 ramp

primary
#2B6ACC
secondary
#D0B282
accent
#A640E8
background
#F8F9FD
surface
#EFF1FB
border
#CACBD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2B6ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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