#2962BB#2962BB

#2962BB is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.8% C 0.153 H 259.2°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#2962BB
RGBrgb(41, 98, 187)
HSLhsl(217, 64%, 45%)
HSVhsv(217, 78%, 73%)
CMYKcmyk(78.1%, 47.6%, 0%, 26.7%)
CIE-LABlab(42.45, 13.67, -52.20)
CIE-LCHlch(42.45, 53.96, 284.68°)
OKLaboklab(50.82% -0.0285 -0.1499)
OKLCHoklch(50.82% 0.153 259.2)
XYZxyz(14.2485, 12.7930, 48.7224)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2962BB #BB8229
analogous
#29ABBB #2962BB #3929BB
triadic
#2962BB #BB2962 #62BB29
tetradic
#2962BB #BB29AB #BB8229 #29BB39
square
#2962BB #BB29AB #BB8229 #29BB39
split-complementary
#2962BB #BB3929 #ABBB29
monochromatic
#132D57 #1E4889 #2962BB #4A81D7 #7CA4E2

Accessibility & contrast

On white

5.90
#2962BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2962BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2962BB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2962BB#FFFFFF#000000##FFFFFF
##2962BB1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316BBE
Deuteranopia (green-blind)
#005EB9
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2962bb;
/* rgb */ color: rgb(41, 98, 187);
/* oklch */ color: oklch(50.8% 0.153 259.2);
Tailwind
colors: {
  custom: {
    50: '#798ed0',
    500: '#2962bb',
    950: '#000000',
  },
}
SCSS
$custom: #2962bb;
$custom-light: #798ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#2962bb",
  "rgb": {
    "r": 41,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 216.575,
    "s": 64.035,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50815,
    "c": 0.15262,
    "h": 259.2
  },
  "luminance": 0.12795
}

Semantic roles & 50–950 ramp

primary
#2962BB
secondary
#CBA975
accent
#A641E7
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2962BB

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

Preview Lab → · Contrast checker → · Palette generator →

#2962BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva