#2962B2#2962B2

#2962B2 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.2% C 0.140 H 257.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#2962B2
RGBrgb(41, 98, 178)
HSLhsl(215, 63%, 43%)
HSVhsv(215, 77%, 70%)
CMYKcmyk(77%, 44.9%, 0%, 30.2%)
CIE-LABlab(41.88, 10.22, -47.86)
CIE-LCHlch(41.88, 48.94, 282.05°)
OKLaboklab(50.19% -0.0301 -0.1372)
OKLCHoklch(50.19% 0.14 257.6)
XYZxyz(13.3151, 12.4196, 43.8063)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2962B2 #B27929
analogous
#29A7B2 #2962B2 #3429B2
triadic
#2962B2 #B22962 #62B229
tetradic
#2962B2 #B229A7 #B27929 #29B234
square
#2962B2 #B229A7 #B27929 #29B234
split-complementary
#2962B2 #B23429 #A7B229
monochromatic
#122B4F #1E4780 #2962B2 #4480D4 #76A2DF

Accessibility & contrast

On white

6.03
#2962B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2962B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2962B2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2962B2#FFFFFF#000000##FFFFFF
##2962B21.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396AB5
Deuteranopia (green-blind)
#1C5DB0
Tritanopia (blue-blind)
#007581
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2962b2;
/* rgb */ color: rgb(41, 98, 178);
/* oklch */ color: oklch(50.2% 0.140 257.6);
Tailwind
colors: {
  custom: {
    50: '#778ec9',
    500: '#2962b2',
    950: '#000000',
  },
}
SCSS
$custom: #2962b2;
$custom-light: #778ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#2962b2",
  "rgb": {
    "r": 41,
    "g": 98,
    "b": 178
  },
  "hsl": {
    "h": 215.036,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50188,
    "c": 0.14044,
    "h": 257.6
  },
  "luminance": 0.12421
}

Semantic roles & 50–950 ramp

primary
#2962B2
secondary
#C7A370
accent
#A242E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2962B2

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

Preview Lab → · Contrast checker → · Palette generator →

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