#2956B2#2956B2

#2956B2 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.6% C 0.155 H 262.5°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2956B2
RGBrgb(41, 86, 178)
HSLhsl(220, 63%, 43%)
HSVhsv(220, 77%, 70%)
CMYKcmyk(77%, 51.7%, 0%, 30.2%)
CIE-LABlab(38.45, 18.06, -53.38)
CIE-LCHlch(38.45, 56.35, 288.69°)
OKLaboklab(47.56% -0.0202 -0.1536)
OKLCHoklch(47.56% 0.155 262.5)
XYZxyz(12.2752, 10.3400, 43.4597)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2956B2 #B28529
analogous
#299AB2 #2956B2 #4029B2
triadic
#2956B2 #B22956 #56B229
tetradic
#2956B2 #B2299A #B28529 #29B240
square
#2956B2 #B2299A #B28529 #29B240
split-complementary
#2956B2 #B24029 #9AB229
monochromatic
#12264F #1E3E80 #2956B2 #4473D4 #7699DF

Accessibility & contrast

On white

6.84
#2956B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2956B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2956B2
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2956B2#FFFFFF#000000##FFFFFF
##2956B21.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A61B5
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2956b2;
/* rgb */ color: rgb(41, 86, 178);
/* oklch */ color: oklch(47.6% 0.155 262.5);
Tailwind
colors: {
  custom: {
    50: '#7785ca',
    500: '#2956b2',
    950: '#000000',
  },
}
SCSS
$custom: #2956b2;
$custom-light: #7785ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2956b2",
  "rgb": {
    "r": 41,
    "g": 86,
    "b": 178
  },
  "hsl": {
    "h": 220.292,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47555,
    "c": 0.15498,
    "h": 262.5
  },
  "luminance": 0.10341
}

Semantic roles & 50–950 ramp

primary
#2956B2
secondary
#C7AA70
accent
#B042E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2956B2

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

Preview Lab → · Contrast checker → · Palette generator →

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