#2952C1#2952C1

#2952C1 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.9% C 0.180 H 264.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2952C1
RGBrgb(41, 82, 193)
HSLhsl(224, 65%, 46%)
HSVhsv(224, 79%, 76%)
CMYKcmyk(78.8%, 57.5%, 0%, 24.3%)
CIE-LABlab(38.47, 26.43, -62.14)
CIE-LCHlch(38.47, 67.53, 293.04°)
OKLaboklab(47.93% -0.0161 -0.1795)
OKLCHoklch(47.93% 0.18 264.9)
XYZxyz(13.5540, 10.3547, 51.7260)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2952C1 #C19829
analogous
#299EC1 #2952C1 #4C29C1
triadic
#2952C1 #C12952 #52C129
tetradic
#2952C1 #C1299E #C19829 #29C14C
square
#2952C1 #C1299E #C19829 #29C14C
split-complementary
#2952C1 #C14C29 #9EC129
monochromatic
#14275C #1E3D8F #2952C1 #4E73D9 #809BE4

Accessibility & contrast

On white

6.84
#2952C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2952C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2952C1
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2952C1#FFFFFF#000000##FFFFFF
##2952C11.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C5
Deuteranopia (green-blind)
#0054BF
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2952c1;
/* rgb */ color: rgb(41, 82, 193);
/* oklch */ color: oklch(47.9% 0.180 264.9);
Tailwind
colors: {
  custom: {
    50: '#7b82d5',
    500: '#2952c1',
    950: '#000000',
  },
}
SCSS
$custom: #2952c1;
$custom-light: #7b82d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2952c1",
  "rgb": {
    "r": 41,
    "g": 82,
    "b": 193
  },
  "hsl": {
    "h": 223.816,
    "s": 64.957,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47927,
    "c": 0.18018,
    "h": 264.9
  },
  "luminance": 0.10356
}

Semantic roles & 50–950 ramp

primary
#2952C1
secondary
#CDB679
accent
#BB40E8
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2952C1

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

Preview Lab → · Contrast checker → · Palette generator →

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