#2962B5#2962B5

#2962B5 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.4% C 0.145 H 258.2°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#2962B5
RGBrgb(41, 98, 181)
HSLhsl(216, 63%, 44%)
HSVhsv(216, 77%, 71%)
CMYKcmyk(77.3%, 45.9%, 0%, 29%)
CIE-LABlab(42.06, 11.37, -49.32)
CIE-LCHlch(42.06, 50.61, 282.98°)
OKLaboklab(50.39% -0.0296 -0.1414)
OKLCHoklch(50.39% 0.145 258.2)
XYZxyz(13.6196, 12.5414, 45.4100)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2962B5 #B57C29
analogous
#29A8B5 #2962B5 #3629B5
triadic
#2962B5 #B52962 #62B529
tetradic
#2962B5 #B529A8 #B57C29 #29B536
square
#2962B5 #B529A8 #B57C29 #29B536
split-complementary
#2962B5 #B53629 #A8B529
monochromatic
#122C51 #1E4783 #2962B5 #4680D5 #78A3E0

Accessibility & contrast

On white

5.99
#2962B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2962B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2962B5
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2962B5#FFFFFF#000000##FFFFFF
##2962B51.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366AB8
Deuteranopia (green-blind)
#165DB3
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2962b5;
/* rgb */ color: rgb(41, 98, 181);
/* oklch */ color: oklch(50.4% 0.145 258.2);
Tailwind
colors: {
  custom: {
    50: '#778ecc',
    500: '#2962b5',
    950: '#000000',
  },
}
SCSS
$custom: #2962b5;
$custom-light: #778ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2962b5",
  "rgb": {
    "r": 41,
    "g": 98,
    "b": 181
  },
  "hsl": {
    "h": 215.571,
    "s": 63.063,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50394,
    "c": 0.14451,
    "h": 258.2
  },
  "luminance": 0.12543
}

Semantic roles & 50–950 ramp

primary
#2962B5
secondary
#C8A572
accent
#A342E6
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2962B5

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

Preview Lab → · Contrast checker → · Palette generator →

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