#2956B6#2956B6

#2956B6 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.9% C 0.160 H 262.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#2956B6
RGBrgb(41, 86, 182)
HSLhsl(221, 63%, 44%)
HSVhsv(221, 77%, 71%)
CMYKcmyk(77.5%, 52.7%, 0%, 28.6%)
CIE-LABlab(38.73, 19.60, -55.28)
CIE-LCHlch(38.73, 58.65, 289.52°)
OKLaboklab(47.86% -0.0198 -0.1592)
OKLCHoklch(47.86% 0.16 262.9)
XYZxyz(12.6827, 10.5029, 45.6057)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2956B6 #B68929
analogous
#299CB6 #2956B6 #4229B6
triadic
#2956B6 #B62956 #56B629
tetradic
#2956B6 #B6299C #B68929 #29B642
square
#2956B6 #B6299C #B68929 #29B642
split-complementary
#2956B6 #B64229 #9CB629
monochromatic
#122752 #1E3E84 #2956B6 #4774D5 #799AE1

Accessibility & contrast

On white

6.77
#2956B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2956B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2956B6
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2956B6#FFFFFF#000000##FFFFFF
##2956B61.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1162B9
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#006D7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2956b6;
/* rgb */ color: rgb(41, 86, 182);
/* oklch */ color: oklch(47.9% 0.160 262.9);
Tailwind
colors: {
  custom: {
    50: '#7885cd',
    500: '#2956b6',
    950: '#000000',
  },
}
SCSS
$custom: #2956b6;
$custom-light: #7885cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2956b6",
  "rgb": {
    "r": 41,
    "g": 86,
    "b": 182
  },
  "hsl": {
    "h": 220.851,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47862,
    "c": 0.16045,
    "h": 262.9
  },
  "luminance": 0.10504
}

Semantic roles & 50–950 ramp

primary
#2956B6
secondary
#C9AD72
accent
#B242E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2956B6

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

Preview Lab → · Contrast checker → · Palette generator →

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