#2956B9#2956B9

#2956B9 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.1% C 0.165 H 263.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#2956B9
RGBrgb(41, 86, 185)
HSLhsl(221, 64%, 44%)
HSVhsv(221, 78%, 73%)
CMYKcmyk(77.8%, 53.5%, 0%, 27.5%)
CIE-LABlab(38.95, 20.75, -56.69)
CIE-LCHlch(38.95, 60.37, 290.10°)
OKLaboklab(48.1% -0.0195 -0.1634)
OKLCHoklch(48.1% 0.165 263.2)
XYZxyz(12.9961, 10.6283, 47.2561)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2956B9 #B98C29
analogous
#299EB9 #2956B9 #4429B9
triadic
#2956B9 #B92956 #56B929
tetradic
#2956B9 #B9299E #B98C29 #29B944
square
#2956B9 #B9299E #B98C29 #29B944
split-complementary
#2956B9 #B94429 #9EB929
monochromatic
#132755 #1E3F87 #2956B9 #4975D7 #7B9BE2

Accessibility & contrast

On white

6.72
#2956B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2956B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2956B9
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2956B9#FFFFFF#000000##FFFFFF
##2956B91.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0663BC
Deuteranopia (green-blind)
#0055B7
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2956b9;
/* rgb */ color: rgb(41, 86, 185);
/* oklch */ color: oklch(48.1% 0.165 263.2);
Tailwind
colors: {
  custom: {
    50: '#7985cf',
    500: '#2956b9',
    950: '#000000',
  },
}
SCSS
$custom: #2956b9;
$custom-light: #7985cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2956b9",
  "rgb": {
    "r": 41,
    "g": 86,
    "b": 185
  },
  "hsl": {
    "h": 221.25,
    "s": 63.717,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48095,
    "c": 0.16453,
    "h": 263.2
  },
  "luminance": 0.1063
}

Semantic roles & 50–950 ramp

primary
#2956B9
secondary
#CAAF74
accent
#B341E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #2956B9

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

Preview Lab → · Contrast checker → · Palette generator →

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