#2961C5#2961C5

#2961C5 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.3% C 0.167 H 260.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#2961C5
RGBrgb(41, 97, 197)
HSLhsl(218, 66%, 47%)
HSVhsv(218, 79%, 77%)
CMYKcmyk(79.2%, 50.8%, 0%, 22.7%)
CIE-LABlab(42.84, 18.16, -57.38)
CIE-LCHlch(42.84, 60.18, 287.56°)
OKLaboklab(51.33% -0.0263 -0.1652)
OKLCHoklch(51.33% 0.167 260.9)
XYZxyz(15.2635, 13.0502, 54.5270)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2961C5 #C58D29
analogous
#29AFC5 #2961C5 #3F29C5
triadic
#2961C5 #C52961 #61C529
tetradic
#2961C5 #C529AF #C58D29 #29C53F
square
#2961C5 #C529AF #C58D29 #29C53F
split-complementary
#2961C5 #C53F29 #AFC529
monochromatic
#142F60 #1E4892 #2961C5 #5182DB #83A6E5

Accessibility & contrast

On white

5.82
#2961C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2961C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2961C5
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2961C5#FFFFFF#000000##FFFFFF
##2961C51.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206DC9
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#00798A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2961c5;
/* rgb */ color: rgb(41, 97, 197);
/* oklch */ color: oklch(51.3% 0.167 260.9);
Tailwind
colors: {
  custom: {
    50: '#7b8dd7',
    500: '#2961c5',
    950: '#000000',
  },
}
SCSS
$custom: #2961c5;
$custom-light: #7b8dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#2961c5",
  "rgb": {
    "r": 41,
    "g": 97,
    "b": 197
  },
  "hsl": {
    "h": 218.462,
    "s": 65.546,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51328,
    "c": 0.16727,
    "h": 260.9
  },
  "luminance": 0.13052
}

Semantic roles & 50–950 ramp

primary
#2961C5
secondary
#CEB17C
accent
#AC3FE8
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2961C5

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

Preview Lab → · Contrast checker → · Palette generator →

#2961C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva