#2952BD#2952BD

#2952BD is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.6% C 0.175 H 264.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2952BD
RGBrgb(41, 82, 189)
HSLhsl(223, 64%, 45%)
HSVhsv(223, 78%, 74%)
CMYKcmyk(78.3%, 56.6%, 0%, 25.9%)
CIE-LABlab(38.16, 24.91, -60.31)
CIE-LCHlch(38.16, 65.25, 292.44°)
OKLaboklab(47.6% -0.0163 -0.1741)
OKLCHoklch(47.6% 0.175 264.6)
XYZxyz(13.1138, 10.1786, 49.4078)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2952BD #BD9429
analogous
#299CBD #2952BD #4A29BD
triadic
#2952BD #BD2952 #52BD29
tetradic
#2952BD #BD299C #BD9429 #29BD4A
square
#2952BD #BD299C #BD9429 #29BD4A
split-complementary
#2952BD #BD4A29 #9CBD29
monochromatic
#132658 #1E3C8B #2952BD #4B72D8 #7D9AE3

Accessibility & contrast

On white

6.92
#2952BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2952BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2952BD
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2952BD#FFFFFF#000000##FFFFFF
##2952BD1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#0053BB
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2952bd;
/* rgb */ color: rgb(41, 82, 189);
/* oklch */ color: oklch(47.6% 0.175 264.6);
Tailwind
colors: {
  custom: {
    50: '#7a82d2',
    500: '#2952bd',
    950: '#000000',
  },
}
SCSS
$custom: #2952bd;
$custom-light: #7a82d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2952bd",
  "rgb": {
    "r": 41,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 223.378,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47596,
    "c": 0.17485,
    "h": 264.6
  },
  "luminance": 0.1018
}

Semantic roles & 50–950 ramp

primary
#2952BD
secondary
#CBB477
accent
#B940E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2952BD

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

Preview Lab → · Contrast checker → · Palette generator →

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