#2956A3#2956A3

#2956A3 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.4% C 0.134 H 260.4°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#2956A3
RGBrgb(41, 86, 163)
HSLhsl(218, 60%, 40%)
HSVhsv(218, 75%, 64%)
CMYKcmyk(74.8%, 47.2%, 0%, 36.1%)
CIE-LABlab(37.43, 12.27, -46.13)
CIE-LCHlch(37.43, 47.73, 284.89°)
OKLaboklab(46.45% -0.0224 -0.1323)
OKLCHoklch(46.45% 0.134 260.4)
XYZxyz(10.8507, 9.7701, 35.9572)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2956A3 #A37629
analogous
#2993A3 #2956A3 #3929A3
triadic
#2956A3 #A32956 #56A329
tetradic
#2956A3 #A32993 #A37629 #29A339
square
#2956A3 #A32993 #A37629 #29A339
split-complementary
#2956A3 #A33929 #93A329
monochromatic
#102241 #1D3C72 #2956A3 #3B71CE #6C95DA

Accessibility & contrast

On white

7.11
#2956A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2956A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2956A3
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2956A3#FFFFFF#000000##FFFFFF
##2956A31.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA6
Deuteranopia (green-blind)
#0F53A1
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2956a3;
/* rgb */ color: rgb(41, 86, 163);
/* oklch */ color: oklch(46.4% 0.134 260.4);
Tailwind
colors: {
  custom: {
    50: '#7485bf',
    500: '#2956a3',
    950: '#000000',
  },
}
SCSS
$custom: #2956a3;
$custom-light: #7485bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2956a3",
  "rgb": {
    "r": 41,
    "g": 86,
    "b": 163
  },
  "hsl": {
    "h": 217.869,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.46449,
    "c": 0.13417,
    "h": 260.4
  },
  "luminance": 0.09771
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2956A3

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

Preview Lab → · Contrast checker → · Palette generator →

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