#2956B7#2956B7

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

Color values

HEX#2956B7
RGBrgb(41, 86, 183)
HSLhsl(221, 63%, 44%)
HSVhsv(221, 78%, 72%)
CMYKcmyk(77.6%, 53%, 0%, 28.2%)
CIE-LABlab(38.80, 19.98, -55.75)
CIE-LCHlch(38.80, 59.22, 289.72°)
OKLaboklab(47.94% -0.0197 -0.1606)
OKLCHoklch(47.94% 0.162 263)
XYZxyz(12.7864, 10.5444, 46.1520)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2956B7 #B78A29
analogous
#299DB7 #2956B7 #4329B7
triadic
#2956B7 #B72956 #56B729
tetradic
#2956B7 #B7299D #B78A29 #29B743
square
#2956B7 #B7299D #B78A29 #29B743
split-complementary
#2956B7 #B74329 #9DB729
monochromatic
#132753 #1E3F85 #2956B7 #4775D6 #799AE1

Accessibility & contrast

On white

6.75
#2956B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2956B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2956B7
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2956B7#FFFFFF#000000##FFFFFF
##2956B71.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E62BA
Deuteranopia (green-blind)
#0055B5
Tritanopia (blue-blind)
#006E7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2956b7;
/* rgb */ color: rgb(41, 86, 183);
/* oklch */ color: oklch(47.9% 0.162 263.0);
Tailwind
colors: {
  custom: {
    50: '#7885cd',
    500: '#2956b7',
    950: '#000000',
  },
}
SCSS
$custom: #2956b7;
$custom-light: #7885cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2956b7",
  "rgb": {
    "r": 41,
    "g": 86,
    "b": 183
  },
  "hsl": {
    "h": 220.986,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4794,
    "c": 0.16181,
    "h": 263
  },
  "luminance": 0.10546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2956B7

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

Preview Lab → · Contrast checker → · Palette generator →

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