#2956A2#2956A2

#2956A2 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.4% C 0.133 H 260.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#2956A2
RGBrgb(41, 86, 162)
HSLhsl(218, 60%, 40%)
HSVhsv(218, 75%, 64%)
CMYKcmyk(74.7%, 46.9%, 0%, 36.5%)
CIE-LABlab(37.36, 11.88, -45.63)
CIE-LCHlch(37.36, 47.16, 284.59°)
OKLaboklab(46.38% -0.0226 -0.1308)
OKLCHoklch(46.38% 0.133 260.2)
XYZxyz(10.7615, 9.7344, 35.4872)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2956A2 #A27529
analogous
#2993A2 #2956A2 #3929A2
triadic
#2956A2 #A22956 #56A229
tetradic
#2956A2 #A22993 #A27529 #29A239
square
#2956A2 #A22993 #A27529 #29A239
split-complementary
#2956A2 #A23929 #93A229
monochromatic
#102240 #1D3C71 #2956A2 #3B71CD #6C95DA

Accessibility & contrast

On white

7.13
#2956A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2956A2
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2956A2#FFFFFF#000000##FFFFFF
##2956A21.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5EA5
Deuteranopia (green-blind)
#1253A0
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2956a2;
/* rgb */ color: rgb(41, 86, 162);
/* oklch */ color: oklch(46.4% 0.133 260.2);
Tailwind
colors: {
  custom: {
    50: '#7485be',
    500: '#2956a2',
    950: '#000000',
  },
}
SCSS
$custom: #2956a2;
$custom-light: #7485be;
$custom-dark: #000000;
JSON
{
  "hex": "#2956a2",
  "rgb": {
    "r": 41,
    "g": 86,
    "b": 162
  },
  "hsl": {
    "h": 217.686,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46378,
    "c": 0.13278,
    "h": 260.2
  },
  "luminance": 0.09736
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2956A2

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

Preview Lab → · Contrast checker → · Palette generator →

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