#2956B3#2956B3

#2956B3 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.6% C 0.156 H 262.6°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#2956B3
RGBrgb(41, 86, 179)
HSLhsl(220, 63%, 43%)
HSVhsv(220, 77%, 70%)
CMYKcmyk(77.1%, 52%, 0%, 29.8%)
CIE-LABlab(38.52, 18.44, -53.86)
CIE-LCHlch(38.52, 56.93, 288.90°)
OKLaboklab(47.63% -0.0201 -0.155)
OKLCHoklch(47.63% 0.156 262.6)
XYZxyz(12.3760, 10.3803, 43.9904)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2956B3 #B38629
analogous
#299BB3 #2956B3 #4129B3
triadic
#2956B3 #B32956 #56B329
tetradic
#2956B3 #B3299B #B38629 #29B341
square
#2956B3 #B3299B #B38629 #29B341
split-complementary
#2956B3 #B34129 #9BB329
monochromatic
#12264F #1E3E81 #2956B3 #4574D4 #7799E0

Accessibility & contrast

On white

6.83
#2956B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2956B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2956B3
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2956B3#FFFFFF#000000##FFFFFF
##2956B31.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1861B6
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2956b3;
/* rgb */ color: rgb(41, 86, 179);
/* oklch */ color: oklch(47.6% 0.156 262.6);
Tailwind
colors: {
  custom: {
    50: '#7785ca',
    500: '#2956b3',
    950: '#000000',
  },
}
SCSS
$custom: #2956b3;
$custom-light: #7785ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2956b3",
  "rgb": {
    "r": 41,
    "g": 86,
    "b": 179
  },
  "hsl": {
    "h": 220.435,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47631,
    "c": 0.15635,
    "h": 262.6
  },
  "luminance": 0.10382
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2956B3

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

Preview Lab → · Contrast checker → · Palette generator →

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