#2956BD#2956BD

#2956BD is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.4% C 0.170 H 263.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#2956BD
RGBrgb(41, 86, 189)
HSLhsl(222, 64%, 45%)
HSVhsv(222, 78%, 74%)
CMYKcmyk(78.3%, 54.5%, 0%, 25.9%)
CIE-LABlab(39.24, 22.28, -58.55)
CIE-LCHlch(39.24, 62.65, 290.83°)
OKLaboklab(48.41% -0.0191 -0.1689)
OKLCHoklch(48.41% 0.17 263.5)
XYZxyz(13.4243, 10.7996, 49.5113)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2956BD #BD9029
analogous
#29A0BD #2956BD #4629BD
triadic
#2956BD #BD2956 #56BD29
tetradic
#2956BD #BD29A0 #BD9029 #29BD46
square
#2956BD #BD29A0 #BD9029 #29BD46
split-complementary
#2956BD #BD4629 #A0BD29
monochromatic
#132858 #1E3F8B #2956BD #4B76D8 #7D9CE3

Accessibility & contrast

On white

6.65
#2956BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2956BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2956BD
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2956BD#FFFFFF#000000##FFFFFF
##2956BD1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#0056BB
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2956bd;
/* rgb */ color: rgb(41, 86, 189);
/* oklch */ color: oklch(48.4% 0.170 263.5);
Tailwind
colors: {
  custom: {
    50: '#7a85d2',
    500: '#2956bd',
    950: '#000000',
  },
}
SCSS
$custom: #2956bd;
$custom-light: #7a85d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2956bd",
  "rgb": {
    "r": 41,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 221.757,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48411,
    "c": 0.16994,
    "h": 263.5
  },
  "luminance": 0.10801
}

Semantic roles & 50–950 ramp

primary
#2956BD
secondary
#CBB277
accent
#B540E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2956BD

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

Preview Lab → · Contrast checker → · Palette generator →

#2956BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva