#2962C6#2962C6

#2962C6 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.6% C 0.167 H 260.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#2962C6
RGBrgb(41, 98, 198)
HSLhsl(218, 66%, 47%)
HSVhsv(218, 79%, 78%)
CMYKcmyk(79.3%, 50.5%, 0%, 22.4%)
CIE-LABlab(43.19, 17.89, -57.39)
CIE-LCHlch(43.19, 60.12, 287.32°)
OKLaboklab(51.61% -0.0269 -0.1652)
OKLCHoklch(51.61% 0.167 260.7)
XYZxyz(15.4715, 13.2822, 55.1634)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2962C6 #C68D29
analogous
#29B0C6 #2962C6 #3F29C6
triadic
#2962C6 #C62962 #62C629
tetradic
#2962C6 #C629B0 #C68D29 #29C63F
square
#2962C6 #C629B0 #C68D29 #29C63F
split-complementary
#2962C6 #C63F29 #B0C629
monochromatic
#143061 #1F4993 #2962C6 #5183DB #84A7E6

Accessibility & contrast

On white

5.74
#2962C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#2962C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2962C6
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2962C6#FFFFFF#000000##FFFFFF
##2962C61.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226ECA
Deuteranopia (green-blind)
#005FC4
Tritanopia (blue-blind)
#007A8B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2962c6;
/* rgb */ color: rgb(41, 98, 198);
/* oklch */ color: oklch(51.6% 0.167 260.7);
Tailwind
colors: {
  custom: {
    50: '#7b8ed8',
    500: '#2962c6',
    950: '#000000',
  },
}
SCSS
$custom: #2962c6;
$custom-light: #7b8ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#2962c6",
  "rgb": {
    "r": 41,
    "g": 98,
    "b": 198
  },
  "hsl": {
    "h": 218.217,
    "s": 65.69,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51614,
    "c": 0.1674,
    "h": 260.7
  },
  "luminance": 0.13284
}

Semantic roles & 50–950 ramp

primary
#2962C6
secondary
#CFB17C
accent
#AB3FE9
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2962C6

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

Preview Lab → · Contrast checker → · Palette generator →

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