#2956A4#2956A4

#2956A4 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.5% C 0.136 H 260.6°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#2956A4
RGBrgb(41, 86, 164)
HSLhsl(218, 60%, 40%)
HSVhsv(218, 75%, 64%)
CMYKcmyk(75%, 47.6%, 0%, 35.7%)
CIE-LABlab(37.49, 12.65, -46.62)
CIE-LCHlch(37.49, 48.30, 285.19°)
OKLaboklab(46.52% -0.0222 -0.1337)
OKLCHoklch(46.52% 0.136 260.6)
XYZxyz(10.9407, 9.8061, 36.4309)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2956A4 #A47729
analogous
#2993A4 #2956A4 #3A29A4
triadic
#2956A4 #A42956 #56A429
tetradic
#2956A4 #A42993 #A47729 #29A43A
square
#2956A4 #A42993 #A47729 #29A43A
split-complementary
#2956A4 #A43A29 #93A429
monochromatic
#112342 #1D3C73 #2956A4 #3C71CE #6D95DA

Accessibility & contrast

On white

7.09
#2956A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2956A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2956A4
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2956A4#FFFFFF#000000##FFFFFF
##2956A41.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5EA7
Deuteranopia (green-blind)
#0C53A2
Tritanopia (blue-blind)
#006875
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2956a4;
/* rgb */ color: rgb(41, 86, 164);
/* oklch */ color: oklch(46.5% 0.136 260.6);
Tailwind
colors: {
  custom: {
    50: '#7485bf',
    500: '#2956a4',
    950: '#000000',
  },
}
SCSS
$custom: #2956a4;
$custom-light: #7485bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2956a4",
  "rgb": {
    "r": 41,
    "g": 86,
    "b": 164
  },
  "hsl": {
    "h": 218.049,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46521,
    "c": 0.13557,
    "h": 260.6
  },
  "luminance": 0.09807
}

Semantic roles & 50–950 ramp

primary
#2956A4
secondary
#C1A068
accent
#A945E3
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2956A4

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

Preview Lab → · Contrast checker → · Palette generator →

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