#2952AE#2952AE

#2952AE is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.4% C 0.154 H 263.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#2952AE
RGBrgb(41, 82, 174)
HSLhsl(222, 62%, 42%)
HSVhsv(222, 76%, 68%)
CMYKcmyk(76.4%, 52.9%, 0%, 31.8%)
CIE-LABlab(37.04, 19.16, -53.29)
CIE-LCHlch(37.04, 56.63, 289.78°)
OKLaboklab(46.4% -0.0175 -0.1534)
OKLCHoklch(46.4% 0.154 263.5)
XYZxyz(11.5690, 9.5607, 41.2719)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2952AE #AE8529
analogous
#2994AE #2952AE #4329AE
triadic
#2952AE #AE2952 #52AE29
tetradic
#2952AE #AE2994 #AE8529 #29AE43
square
#2952AE #AE2994 #AE8529 #29AE43
split-complementary
#2952AE #AE4329 #94AE29
monochromatic
#12234B #1D3B7C #2952AE #426ED2 #7394DE

Accessibility & contrast

On white

7.21
#2952AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2952AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2952AE
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2952AE#FFFFFF#000000##FFFFFF
##2952AE1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115EB1
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2952ae;
/* rgb */ color: rgb(41, 82, 174);
/* oklch */ color: oklch(46.4% 0.154 263.5);
Tailwind
colors: {
  custom: {
    50: '#7682c7',
    500: '#2952ae',
    950: '#000000',
  },
}
SCSS
$custom: #2952ae;
$custom-light: #7682c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2952ae",
  "rgb": {
    "r": 41,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 221.504,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46397,
    "c": 0.15445,
    "h": 263.5
  },
  "luminance": 0.09562
}

Semantic roles & 50–950 ramp

primary
#2952AE
secondary
#C5AA6D
accent
#B343E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2952AE

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

Preview Lab → · Contrast checker → · Palette generator →

#2952AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva