#2962CA#2962CA

#2962CA is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.9% C 0.173 H 261.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2962CA
RGBrgb(41, 98, 202)
HSLhsl(219, 66%, 48%)
HSVhsv(219, 80%, 79%)
CMYKcmyk(79.7%, 51.5%, 0%, 20.8%)
CIE-LABlab(43.46, 19.42, -59.26)
CIE-LCHlch(43.46, 62.36, 288.15°)
OKLaboklab(51.91% -0.0264 -0.1707)
OKLCHoklch(51.91% 0.173 261.2)
XYZxyz(15.9389, 13.4692, 57.6254)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2962CA #CA9129
analogous
#29B2CA #2962CA #4129CA
triadic
#2962CA #CA2962 #62CA29
tetradic
#2962CA #CA29B2 #CA9129 #29CA41
square
#2962CA #CA29B2 #CA9129 #29CA41
split-complementary
#2962CA #CA4129 #B2CA29
monochromatic
#143164 #1F4997 #2962CA #5484DC #87A9E7

Accessibility & contrast

On white

5.68
#2962CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#2962CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2962CA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2962CA#FFFFFF#000000##FFFFFF
##2962CA1.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6ECE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#007B8C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2962ca;
/* rgb */ color: rgb(41, 98, 202);
/* oklch */ color: oklch(51.9% 0.173 261.2);
Tailwind
colors: {
  custom: {
    50: '#7c8edb',
    500: '#2962ca',
    950: '#000000',
  },
}
SCSS
$custom: #2962ca;
$custom-light: #7c8edb;
$custom-dark: #000000;
JSON
{
  "hex": "#2962ca",
  "rgb": {
    "r": 41,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 218.758,
    "s": 66.255,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51913,
    "c": 0.17274,
    "h": 261.2
  },
  "luminance": 0.13471
}

Semantic roles & 50–950 ramp

primary
#2962CA
secondary
#D0B37F
accent
#AD3FE9
background
#F8F8FD
surface
#EFF0FB
border
#CACBD4
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2962CA

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

Preview Lab → · Contrast checker → · Palette generator →

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