#2956B1#2956B1

#2956B1 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.5% C 0.154 H 262.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#2956B1
RGBrgb(41, 86, 177)
HSLhsl(220, 62%, 43%)
HSVhsv(220, 77%, 69%)
CMYKcmyk(76.8%, 51.4%, 0%, 30.6%)
CIE-LABlab(38.38, 17.67, -52.91)
CIE-LCHlch(38.38, 55.78, 288.47°)
OKLaboklab(47.48% -0.0204 -0.1522)
OKLCHoklch(47.48% 0.154 262.4)
XYZxyz(12.1752, 10.2999, 42.9329)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2956B1 #B18429
analogous
#299AB1 #2956B1 #4029B1
triadic
#2956B1 #B12956 #56B129
tetradic
#2956B1 #B1299A #B18429 #29B140
square
#2956B1 #B1299A #B18429 #29B140
split-complementary
#2956B1 #B14029 #9AB129
monochromatic
#12264E #1D3E7F #2956B1 #4473D4 #7598DF

Accessibility & contrast

On white

6.86
#2956B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2956B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2956B1
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2956B1#FFFFFF#000000##FFFFFF
##2956B11.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B61B4
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2956b1;
/* rgb */ color: rgb(41, 86, 177);
/* oklch */ color: oklch(47.5% 0.154 262.4);
Tailwind
colors: {
  custom: {
    50: '#7785c9',
    500: '#2956b1',
    950: '#000000',
  },
}
SCSS
$custom: #2956b1;
$custom-light: #7785c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2956b1",
  "rgb": {
    "r": 41,
    "g": 86,
    "b": 177
  },
  "hsl": {
    "h": 220.147,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47479,
    "c": 0.15361,
    "h": 262.4
  },
  "luminance": 0.10301
}

Semantic roles & 50–950 ramp

primary
#2956B1
secondary
#C7AA6F
accent
#AF42E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2956B1

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

Preview Lab → · Contrast checker → · Palette generator →

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