#2B6BC5#2B6BC5

#2B6BC5 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 53.6% C 0.155 H 257.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2B6BC5
RGBrgb(43, 107, 197)
HSLhsl(215, 64%, 47%)
HSVhsv(215, 78%, 77%)
CMYKcmyk(78.2%, 45.7%, 0%, 22.7%)
CIE-LABlab(45.71, 11.94, -52.74)
CIE-LCHlch(45.71, 54.08, 282.76°)
OKLaboklab(53.55% -0.0329 -0.1513)
OKLCHoklch(53.55% 0.155 257.7)
XYZxyz(16.3283, 15.0583, 54.8585)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6BC5 #C5852B
analogous
#2BB8C5 #2B6BC5 #382BC5
triadic
#2B6BC5 #C52B6B #6BC52B
tetradic
#2B6BC5 #C52BB8 #C5852B #2BC538
square
#2B6BC5 #C52BB8 #C5852B #2BC538
split-complementary
#2B6BC5 #C5382B #B8C52B
monochromatic
#153461 #205093 #2B6BC5 #548BDA #86ADE5

Accessibility & contrast

On white

5.23
#2B6BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2B6BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6BC5
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6BC5#FFFFFF#000000##FFFFFF
##2B6BC51.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B74C8
Deuteranopia (green-blind)
#1666C3
Tritanopia (blue-blind)
#00808E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b6bc5;
/* rgb */ color: rgb(43, 107, 197);
/* oklch */ color: oklch(53.6% 0.155 257.7);
Tailwind
colors: {
  custom: {
    50: '#7b94d7',
    500: '#2b6bc5',
    950: '#000000',
  },
}
SCSS
$custom: #2b6bc5;
$custom-light: #7b94d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6bc5",
  "rgb": {
    "r": 43,
    "g": 107,
    "b": 197
  },
  "hsl": {
    "h": 215.065,
    "s": 64.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53553,
    "c": 0.15486,
    "h": 257.7
  },
  "luminance": 0.1506
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B6BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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