#2952B6#2952B6

#2952B6 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.0% C 0.165 H 264.2°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#2952B6
RGBrgb(41, 82, 182)
HSLhsl(223, 63%, 44%)
HSVhsv(223, 77%, 71%)
CMYKcmyk(77.5%, 54.9%, 0%, 28.6%)
CIE-LABlab(37.63, 22.24, -57.06)
CIE-LCHlch(37.63, 61.24, 291.29°)
OKLaboklab(47.03% -0.0168 -0.1645)
OKLCHoklch(47.03% 0.165 264.2)
XYZxyz(12.3722, 9.8820, 45.5023)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2952B6 #B68D29
analogous
#2998B6 #2952B6 #4629B6
triadic
#2952B6 #B62952 #52B629
tetradic
#2952B6 #B62998 #B68D29 #29B646
square
#2952B6 #B62998 #B68D29 #29B646
split-complementary
#2952B6 #B64629 #98B629
monochromatic
#122552 #1E3B84 #2952B6 #4770D5 #7997E1

Accessibility & contrast

On white

7.06
#2952B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2952B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2952B6
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2952B6#FFFFFF#000000##FFFFFF
##2952B61.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB9
Deuteranopia (green-blind)
#0052B4
Tritanopia (blue-blind)
#006B7C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2952b6;
/* rgb */ color: rgb(41, 82, 182);
/* oklch */ color: oklch(47.0% 0.165 264.2);
Tailwind
colors: {
  custom: {
    50: '#7882cd',
    500: '#2952b6',
    950: '#000000',
  },
}
SCSS
$custom: #2952b6;
$custom-light: #7882cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2952b6",
  "rgb": {
    "r": 41,
    "g": 82,
    "b": 182
  },
  "hsl": {
    "h": 222.553,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47028,
    "c": 0.1654,
    "h": 264.2
  },
  "luminance": 0.09883
}

Semantic roles & 50–950 ramp

primary
#2952B6
secondary
#C9AF72
accent
#B642E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2952B6

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

Preview Lab → · Contrast checker → · Palette generator →

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