#2961C7#2961C7

#2961C7 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.5% C 0.170 H 261.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#2961C7
RGBrgb(41, 97, 199)
HSLhsl(219, 66%, 47%)
HSVhsv(219, 79%, 78%)
CMYKcmyk(79.4%, 51.3%, 0%, 22%)
CIE-LABlab(42.98, 18.92, -58.31)
CIE-LCHlch(42.98, 61.30, 287.98°)
OKLaboklab(51.48% -0.0261 -0.1679)
OKLCHoklch(51.48% 0.17 261.2)
XYZxyz(15.4942, 13.1425, 55.7419)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2961C7 #C78F29
analogous
#29B0C7 #2961C7 #4029C7
triadic
#2961C7 #C72961 #61C729
tetradic
#2961C7 #C729B0 #C78F29 #29C740
square
#2961C7 #C729B0 #C78F29 #29C740
split-complementary
#2961C7 #C74029 #B0C729
monochromatic
#143062 #1F4894 #2961C7 #5283DB #85A7E6

Accessibility & contrast

On white

5.79
#2961C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2961C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2961C7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2961C7#FFFFFF#000000##FFFFFF
##2961C71.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6DCB
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#007A8B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2961c7;
/* rgb */ color: rgb(41, 97, 199);
/* oklch */ color: oklch(51.5% 0.170 261.2);
Tailwind
colors: {
  custom: {
    50: '#7b8dd9',
    500: '#2961c7',
    950: '#000000',
  },
}
SCSS
$custom: #2961c7;
$custom-light: #7b8dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#2961c7",
  "rgb": {
    "r": 41,
    "g": 97,
    "b": 199
  },
  "hsl": {
    "h": 218.734,
    "s": 65.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51477,
    "c": 0.16994,
    "h": 261.2
  },
  "luminance": 0.13144
}

Semantic roles & 50–950 ramp

primary
#2961C7
secondary
#CFB27D
accent
#AD3FE9
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2961C7

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

Preview Lab → · Contrast checker → · Palette generator →

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