#2962BA#2962BA

#2962BA is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.7% C 0.151 H 259.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2962BA
RGBrgb(41, 98, 186)
HSLhsl(216, 64%, 45%)
HSVhsv(216, 78%, 73%)
CMYKcmyk(78%, 47.3%, 0%, 27.1%)
CIE-LABlab(42.38, 13.29, -51.72)
CIE-LCHlch(42.38, 53.40, 284.41°)
OKLaboklab(50.74% -0.0287 -0.1485)
OKLCHoklch(50.74% 0.151 259.1)
XYZxyz(14.1418, 12.7503, 48.1606)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2962BA #BA8129
analogous
#29ABBA #2962BA #3929BA
triadic
#2962BA #BA2962 #62BA29
tetradic
#2962BA #BA29AB #BA8129 #29BA39
square
#2962BA #BA29AB #BA8129 #29BA39
split-complementary
#2962BA #BA3929 #ABBA29
monochromatic
#132D56 #1E4888 #2962BA #4981D7 #7BA4E2

Accessibility & contrast

On white

5.91
#2962BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2962BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2962BA
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2962BA#FFFFFF#000000##FFFFFF
##2962BA1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326BBD
Deuteranopia (green-blind)
#045EB8
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2962ba;
/* rgb */ color: rgb(41, 98, 186);
/* oklch */ color: oklch(50.7% 0.151 259.1);
Tailwind
colors: {
  custom: {
    50: '#788ecf',
    500: '#2962ba',
    950: '#000000',
  },
}
SCSS
$custom: #2962ba;
$custom-light: #788ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#2962ba",
  "rgb": {
    "r": 41,
    "g": 98,
    "b": 186
  },
  "hsl": {
    "h": 216.414,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50744,
    "c": 0.15128,
    "h": 259.1
  },
  "luminance": 0.12752
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2962BA

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

Preview Lab → · Contrast checker → · Palette generator →

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