#2956A5#2956A5

#2956A5 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.6% C 0.137 H 260.7°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#2956A5
RGBrgb(41, 86, 165)
HSLhsl(218, 60%, 40%)
HSVhsv(218, 75%, 65%)
CMYKcmyk(75.2%, 47.9%, 0%, 35.3%)
CIE-LABlab(37.56, 13.04, -47.11)
CIE-LCHlch(37.56, 48.88, 285.47°)
OKLaboklab(46.59% -0.0221 -0.1352)
OKLCHoklch(46.59% 0.137 260.7)
XYZxyz(11.0313, 9.8424, 36.9084)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2956A5 #A57829
analogous
#2994A5 #2956A5 #3A29A5
triadic
#2956A5 #A52956 #56A529
tetradic
#2956A5 #A52994 #A57829 #29A53A
square
#2956A5 #A52994 #A57829 #29A53A
split-complementary
#2956A5 #A53A29 #94A529
monochromatic
#112343 #1D3C74 #2956A5 #3D72CF #6E95DB

Accessibility & contrast

On white

7.07
#2956A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2956A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2956A5
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2956A5#FFFFFF#000000##FFFFFF
##2956A51.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5EA8
Deuteranopia (green-blind)
#0853A3
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2956a5;
/* rgb */ color: rgb(41, 86, 165);
/* oklch */ color: oklch(46.6% 0.137 260.7);
Tailwind
colors: {
  custom: {
    50: '#7485c0',
    500: '#2956a5',
    950: '#000000',
  },
}
SCSS
$custom: #2956a5;
$custom-light: #7485c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2956a5",
  "rgb": {
    "r": 41,
    "g": 86,
    "b": 165
  },
  "hsl": {
    "h": 218.226,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46593,
    "c": 0.13697,
    "h": 260.7
  },
  "luminance": 0.09844
}

Semantic roles & 50–950 ramp

primary
#2956A5
secondary
#C2A168
accent
#AA44E3
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2956A5

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

Preview Lab → · Contrast checker → · Palette generator →

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