#2962B4#2962B4

#2962B4 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.3% C 0.143 H 258.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#2962B4
RGBrgb(41, 98, 180)
HSLhsl(215, 63%, 43%)
HSVhsv(215, 77%, 71%)
CMYKcmyk(77.2%, 45.6%, 0%, 29.4%)
CIE-LABlab(42.00, 10.98, -48.83)
CIE-LCHlch(42.00, 50.05, 282.68°)
OKLaboklab(50.33% -0.0297 -0.14)
OKLCHoklch(50.33% 0.143 258)
XYZxyz(13.5173, 12.5005, 44.8716)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2962B4 #B47B29
analogous
#29A7B4 #2962B4 #3629B4
triadic
#2962B4 #B42962 #62B429
tetradic
#2962B4 #B429A7 #B47B29 #29B436
square
#2962B4 #B429A7 #B47B29 #29B436
split-complementary
#2962B4 #B43629 #A7B429
monochromatic
#122C50 #1E4782 #2962B4 #4580D5 #77A2E0

Accessibility & contrast

On white

6.00
#2962B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2962B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2962B4
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2962B4#FFFFFF#000000##FFFFFF
##2962B41.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376AB7
Deuteranopia (green-blind)
#185DB2
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2962b4;
/* rgb */ color: rgb(41, 98, 180);
/* oklch */ color: oklch(50.3% 0.143 258.0);
Tailwind
colors: {
  custom: {
    50: '#778ecb',
    500: '#2962b4',
    950: '#000000',
  },
}
SCSS
$custom: #2962b4;
$custom-light: #778ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#2962b4",
  "rgb": {
    "r": 41,
    "g": 98,
    "b": 180
  },
  "hsl": {
    "h": 215.396,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50325,
    "c": 0.14315,
    "h": 258
  },
  "luminance": 0.12502
}

Semantic roles & 50–950 ramp

primary
#2962B4
secondary
#C8A471
accent
#A342E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2962B4

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

Preview Lab → · Contrast checker → · Palette generator →

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