#2956AC#2956AC

#2956AC is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.1% C 0.147 H 261.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#2956AC
RGBrgb(41, 86, 172)
HSLhsl(219, 62%, 42%)
HSVhsv(219, 76%, 67%)
CMYKcmyk(76.2%, 50%, 0%, 32.5%)
CIE-LABlab(38.03, 15.74, -50.51)
CIE-LCHlch(38.03, 52.91, 287.31°)
OKLaboklab(47.1% -0.021 -0.1452)
OKLCHoklch(47.1% 0.147 261.8)
XYZxyz(11.6860, 10.1042, 40.3562)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2956AC #AC7F29
analogous
#2998AC #2956AC #3E29AC
triadic
#2956AC #AC2956 #56AC29
tetradic
#2956AC #AC2998 #AC7F29 #29AC3E
square
#2956AC #AC2998 #AC7F29 #29AC3E
split-complementary
#2956AC #AC3E29 #98AC29
monochromatic
#112549 #1D3D7B #2956AC #4172D2 #7297DD

Accessibility & contrast

On white

6.95
#2956AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2956AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2956AC
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2956AC#FFFFFF#000000##FFFFFF
##2956AC1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2360AF
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2956ac;
/* rgb */ color: rgb(41, 86, 172);
/* oklch */ color: oklch(47.1% 0.147 261.8);
Tailwind
colors: {
  custom: {
    50: '#7685c5',
    500: '#2956ac',
    950: '#000000',
  },
}
SCSS
$custom: #2956ac;
$custom-light: #7685c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2956ac",
  "rgb": {
    "r": 41,
    "g": 86,
    "b": 172
  },
  "hsl": {
    "h": 219.389,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47104,
    "c": 0.1467,
    "h": 261.8
  },
  "luminance": 0.10106
}

Semantic roles & 50–950 ramp

primary
#2956AC
secondary
#C5A66C
accent
#AD43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2956AC

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

Preview Lab → · Contrast checker → · Palette generator →

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