#2961BA#2961BA

#2961BA is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.5% C 0.152 H 259.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2961BA
RGBrgb(41, 97, 186)
HSLhsl(217, 64%, 45%)
HSVhsv(217, 78%, 73%)
CMYKcmyk(78%, 47.8%, 0%, 27.1%)
CIE-LABlab(42.10, 13.94, -52.18)
CIE-LCHlch(42.10, 54.01, 284.95°)
OKLaboklab(50.53% -0.0279 -0.1499)
OKLCHoklch(50.53% 0.152 259.5)
XYZxyz(14.0488, 12.5643, 48.1296)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2961BA #BA8229
analogous
#29AABA #2961BA #3A29BA
triadic
#2961BA #BA2961 #61BA29
tetradic
#2961BA #BA29AA #BA8229 #29BA3A
square
#2961BA #BA29AA #BA8229 #29BA3A
split-complementary
#2961BA #BA3A29 #AABA29
monochromatic
#132D56 #1E4788 #2961BA #4980D7 #7BA3E2

Accessibility & contrast

On white

5.98
#2961BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2961BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2961BA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2961BA#FFFFFF#000000##FFFFFF
##2961BA1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6ABD
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#007684
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2961ba;
/* rgb */ color: rgb(41, 97, 186);
/* oklch */ color: oklch(50.5% 0.152 259.5);
Tailwind
colors: {
  custom: {
    50: '#788dcf',
    500: '#2961ba',
    950: '#000000',
  },
}
SCSS
$custom: #2961ba;
$custom-light: #788dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2961ba",
  "rgb": {
    "r": 41,
    "g": 97,
    "b": 186
  },
  "hsl": {
    "h": 216.828,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50525,
    "c": 0.15247,
    "h": 259.5
  },
  "luminance": 0.12566
}

Semantic roles & 50–950 ramp

primary
#2961BA
secondary
#CAA975
accent
#A741E7
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2961BA

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

Preview Lab → · Contrast checker → · Palette generator →

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