#2960BA#2960BA

#2960BA is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.3% C 0.154 H 259.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2960BA
RGBrgb(41, 96, 186)
HSLhsl(217, 64%, 45%)
HSVhsv(217, 78%, 73%)
CMYKcmyk(78%, 48.4%, 0%, 27.1%)
CIE-LABlab(41.81, 14.59, -52.64)
CIE-LCHlch(41.81, 54.62, 285.49°)
OKLaboklab(50.31% -0.0271 -0.1513)
OKLCHoklch(50.31% 0.154 259.9)
XYZxyz(13.9570, 12.3807, 48.0990)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2960BA #BA8329
analogous
#29A9BA #2960BA #3A29BA
triadic
#2960BA #BA2960 #60BA29
tetradic
#2960BA #BA29A9 #BA8329 #29BA3A
square
#2960BA #BA29A9 #BA8329 #29BA3A
split-complementary
#2960BA #BA3A29 #A9BA29
monochromatic
#132C56 #1E4688 #2960BA #497FD7 #7BA2E2

Accessibility & contrast

On white

6.04
#2960BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2960BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2960BA
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2960BA#FFFFFF#000000##FFFFFF
##2960BA1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2960ba;
/* rgb */ color: rgb(41, 96, 186);
/* oklch */ color: oklch(50.3% 0.154 259.9);
Tailwind
colors: {
  custom: {
    50: '#798ccf',
    500: '#2960ba',
    950: '#000000',
  },
}
SCSS
$custom: #2960ba;
$custom-light: #798ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#2960ba",
  "rgb": {
    "r": 41,
    "g": 96,
    "b": 186
  },
  "hsl": {
    "h": 217.241,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50306,
    "c": 0.15367,
    "h": 259.9
  },
  "luminance": 0.12382
}

Semantic roles & 50–950 ramp

primary
#2960BA
secondary
#CAAA75
accent
#A841E7
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2960BA

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

Preview Lab → · Contrast checker → · Palette generator →

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