#2956A1#2956A1

#2956A1 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.3% C 0.131 H 260.0°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#2956A1
RGBrgb(41, 86, 161)
HSLhsl(218, 59%, 40%)
HSVhsv(218, 75%, 63%)
CMYKcmyk(74.5%, 46.6%, 0%, 36.9%)
CIE-LABlab(37.30, 11.50, -45.14)
CIE-LCHlch(37.30, 46.58, 284.29°)
OKLaboklab(46.31% -0.0227 -0.1294)
OKLCHoklch(46.31% 0.131 260)
XYZxyz(10.6729, 9.6990, 35.0209)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2956A1 #A17429
analogous
#2992A1 #2956A1 #3829A1
triadic
#2956A1 #A12956 #56A129
tetradic
#2956A1 #A12992 #A17429 #29A138
square
#2956A1 #A12992 #A17429 #29A138
split-complementary
#2956A1 #A13829 #92A129
monochromatic
#10223F #1D3C70 #2956A1 #3A71CD #6B94D9

Accessibility & contrast

On white

7.14
#2956A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2956A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2956A1
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2956A1#FFFFFF#000000##FFFFFF
##2956A11.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5EA4
Deuteranopia (green-blind)
#14539F
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2956a1;
/* rgb */ color: rgb(41, 86, 161);
/* oklch */ color: oklch(46.3% 0.131 260.0);
Tailwind
colors: {
  custom: {
    50: '#7385bd',
    500: '#2956a1',
    950: '#000000',
  },
}
SCSS
$custom: #2956a1;
$custom-light: #7385bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2956a1",
  "rgb": {
    "r": 41,
    "g": 86,
    "b": 161
  },
  "hsl": {
    "h": 217.5,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46308,
    "c": 0.13137,
    "h": 260
  },
  "luminance": 0.097
}

Semantic roles & 50–950 ramp

primary
#2956A1
secondary
#C09E66
accent
#A845E3
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2956A1

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

Preview Lab → · Contrast checker → · Palette generator →

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