#2952BA#2952BA

#2952BA is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.4% C 0.171 H 264.4°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#2952BA
RGBrgb(41, 82, 186)
HSLhsl(223, 64%, 45%)
HSVhsv(223, 78%, 73%)
CMYKcmyk(78%, 55.9%, 0%, 27.1%)
CIE-LABlab(37.93, 23.77, -58.92)
CIE-LCHlch(37.93, 63.54, 291.97°)
OKLaboklab(47.35% -0.0165 -0.17)
OKLCHoklch(47.35% 0.171 264.4)
XYZxyz(12.7915, 10.0497, 47.7105)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2952BA #BA9129
analogous
#299BBA #2952BA #4829BA
triadic
#2952BA #BA2952 #52BA29
tetradic
#2952BA #BA299B #BA9129 #29BA48
square
#2952BA #BA299B #BA9129 #29BA48
split-complementary
#2952BA #BA4829 #9BBA29
monochromatic
#132656 #1E3C88 #2952BA #4971D7 #7B98E2

Accessibility & contrast

On white

6.98
#2952BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2952BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2952BA
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2952BA#FFFFFF#000000##FFFFFF
##2952BA1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2952ba;
/* rgb */ color: rgb(41, 82, 186);
/* oklch */ color: oklch(47.4% 0.171 264.4);
Tailwind
colors: {
  custom: {
    50: '#7982d0',
    500: '#2952ba',
    950: '#000000',
  },
}
SCSS
$custom: #2952ba;
$custom-light: #7982d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2952ba",
  "rgb": {
    "r": 41,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 223.034,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47351,
    "c": 0.17081,
    "h": 264.4
  },
  "luminance": 0.10051
}

Semantic roles & 50–950 ramp

primary
#2952BA
secondary
#CAB275
accent
#B841E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2952BA

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

Preview Lab → · Contrast checker → · Palette generator →

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