#2956B8#2956B8

#2956B8 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.0% C 0.163 H 263.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#2956B8
RGBrgb(41, 86, 184)
HSLhsl(221, 64%, 44%)
HSVhsv(221, 78%, 72%)
CMYKcmyk(77.7%, 53.3%, 0%, 27.8%)
CIE-LABlab(38.87, 20.36, -56.22)
CIE-LCHlch(38.87, 59.79, 289.91°)
OKLaboklab(48.02% -0.0196 -0.162)
OKLCHoklch(48.02% 0.163 263.1)
XYZxyz(12.8909, 10.5862, 46.7021)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2956B8 #B88B29
analogous
#299EB8 #2956B8 #4429B8
triadic
#2956B8 #B82956 #56B829
tetradic
#2956B8 #B8299E #B88B29 #29B844
square
#2956B8 #B8299E #B88B29 #29B844
split-complementary
#2956B8 #B84429 #9EB829
monochromatic
#132754 #1E3F86 #2956B8 #4875D6 #7A9BE1

Accessibility & contrast

On white

6.74
#2956B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2956B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2956B8
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2956B8#FFFFFF#000000##FFFFFF
##2956B81.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A62BB
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#006E7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2956b8;
/* rgb */ color: rgb(41, 86, 184);
/* oklch */ color: oklch(48.0% 0.163 263.1);
Tailwind
colors: {
  custom: {
    50: '#7985ce',
    500: '#2956b8',
    950: '#000000',
  },
}
SCSS
$custom: #2956b8;
$custom-light: #7985ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2956b8",
  "rgb": {
    "r": 41,
    "g": 86,
    "b": 184
  },
  "hsl": {
    "h": 221.119,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48017,
    "c": 0.16317,
    "h": 263.1
  },
  "luminance": 0.10588
}

Semantic roles & 50–950 ramp

primary
#2956B8
secondary
#C9AE73
accent
#B341E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #2956B8

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

Preview Lab → · Contrast checker → · Palette generator →

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