#2962B8#2962B8

#2962B8 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.6% C 0.149 H 258.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2962B8
RGBrgb(41, 98, 184)
HSLhsl(216, 64%, 44%)
HSVhsv(216, 78%, 72%)
CMYKcmyk(77.7%, 46.7%, 0%, 27.8%)
CIE-LABlab(42.26, 12.52, -50.76)
CIE-LCHlch(42.26, 52.28, 283.86°)
OKLaboklab(50.6% -0.029 -0.1457)
OKLCHoklch(50.6% 0.149 258.7)
XYZxyz(13.9307, 12.6659, 47.0487)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2962B8 #B87F29
analogous
#29AAB8 #2962B8 #3829B8
triadic
#2962B8 #B82962 #62B829
tetradic
#2962B8 #B829AA #B87F29 #29B838
square
#2962B8 #B829AA #B87F29 #29B838
split-complementary
#2962B8 #B83829 #AAB829
monochromatic
#132D54 #1E4786 #2962B8 #4881D6 #7AA3E1

Accessibility & contrast

On white

5.94
#2962B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2962B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2962B8
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2962B8#FFFFFF#000000##FFFFFF
##2962B81.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346BBB
Deuteranopia (green-blind)
#0D5EB6
Tritanopia (blue-blind)
#007684
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2962b8;
/* rgb */ color: rgb(41, 98, 184);
/* oklch */ color: oklch(50.6% 0.149 258.7);
Tailwind
colors: {
  custom: {
    50: '#788ece',
    500: '#2962b8',
    950: '#000000',
  },
}
SCSS
$custom: #2962b8;
$custom-light: #788ece;
$custom-dark: #000000;
JSON
{
  "hex": "#2962b8",
  "rgb": {
    "r": 41,
    "g": 98,
    "b": 184
  },
  "hsl": {
    "h": 216.084,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50603,
    "c": 0.14856,
    "h": 258.7
  },
  "luminance": 0.12667
}

Semantic roles & 50–950 ramp

primary
#2962B8
secondary
#C9A773
accent
#A541E7
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2962B8

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

Preview Lab → · Contrast checker → · Palette generator →

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