#2956BA#2956BA

#2956BA is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.2% C 0.166 H 263.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#2956BA
RGBrgb(41, 86, 186)
HSLhsl(221, 64%, 45%)
HSVhsv(221, 78%, 73%)
CMYKcmyk(78%, 53.8%, 0%, 27.1%)
CIE-LABlab(39.02, 21.13, -57.16)
CIE-LCHlch(39.02, 60.94, 290.29°)
OKLaboklab(48.17% -0.0194 -0.1647)
OKLCHoklch(48.17% 0.166 263.3)
XYZxyz(13.1020, 10.6707, 47.8140)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2956BA #BA8D29
analogous
#299FBA #2956BA #4429BA
triadic
#2956BA #BA2956 #56BA29
tetradic
#2956BA #BA299F #BA8D29 #29BA44
square
#2956BA #BA299F #BA8D29 #29BA44
split-complementary
#2956BA #BA4429 #9FBA29
monochromatic
#132856 #1E3F88 #2956BA #4975D7 #7B9BE2

Accessibility & contrast

On white

6.70
#2956BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2956BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2956BA
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2956BA#FFFFFF#000000##FFFFFF
##2956BA1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0263BE
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2956ba;
/* rgb */ color: rgb(41, 86, 186);
/* oklch */ color: oklch(48.2% 0.166 263.3);
Tailwind
colors: {
  custom: {
    50: '#7985cf',
    500: '#2956ba',
    950: '#000000',
  },
}
SCSS
$custom: #2956ba;
$custom-light: #7985cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2956ba",
  "rgb": {
    "r": 41,
    "g": 86,
    "b": 186
  },
  "hsl": {
    "h": 221.379,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48174,
    "c": 0.16589,
    "h": 263.3
  },
  "luminance": 0.10672
}

Semantic roles & 50–950 ramp

primary
#2956BA
secondary
#CAB075
accent
#B341E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2956BA

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

Preview Lab → · Contrast checker → · Palette generator →

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