#2956AB#2956AB

#2956AB is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.0% C 0.145 H 261.6°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2956AB
RGBrgb(41, 86, 171)
HSLhsl(219, 61%, 42%)
HSVhsv(219, 76%, 67%)
CMYKcmyk(76%, 49.7%, 0%, 32.9%)
CIE-LABlab(37.96, 15.36, -50.03)
CIE-LCHlch(37.96, 52.33, 287.06°)
OKLaboklab(47.03% -0.0211 -0.1438)
OKLCHoklch(47.03% 0.145 261.6)
XYZxyz(11.5903, 10.0660, 39.8523)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2956AB #AB7E29
analogous
#2997AB #2956AB #3D29AB
triadic
#2956AB #AB2956 #56AB29
tetradic
#2956AB #AB2997 #AB7E29 #29AB3D
square
#2956AB #AB2997 #AB7E29 #29AB3D
split-complementary
#2956AB #AB3D29 #97AB29
monochromatic
#112448 #1D3D7A #2956AB #4072D1 #7197DD

Accessibility & contrast

On white

6.97
#2956AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2956AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2956AB
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2956AB#FFFFFF#000000##FFFFFF
##2956AB1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2460AE
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2956ab;
/* rgb */ color: rgb(41, 86, 171);
/* oklch */ color: oklch(47.0% 0.145 261.6);
Tailwind
colors: {
  custom: {
    50: '#7685c5',
    500: '#2956ab',
    950: '#000000',
  },
}
SCSS
$custom: #2956ab;
$custom-light: #7685c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2956ab",
  "rgb": {
    "r": 41,
    "g": 86,
    "b": 171
  },
  "hsl": {
    "h": 219.231,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4703,
    "c": 0.14532,
    "h": 261.6
  },
  "luminance": 0.10067
}

Semantic roles & 50–950 ramp

primary
#2956AB
secondary
#C4A66C
accent
#AD43E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2956AB

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

Preview Lab → · Contrast checker → · Palette generator →

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