#2952A4#2952A4

#2952A4 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.6% C 0.141 H 262.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#2952A4
RGBrgb(41, 82, 164)
HSLhsl(220, 60%, 40%)
HSVhsv(220, 75%, 64%)
CMYKcmyk(75%, 50%, 0%, 35.7%)
CIE-LABlab(36.34, 15.30, -48.48)
CIE-LCHlch(36.34, 50.83, 287.52°)
OKLaboklab(45.64% -0.0188 -0.1393)
OKLCHoklch(45.64% 0.141 262.3)
XYZxyz(10.6302, 9.1852, 36.3274)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2952A4 #A47B29
analogous
#298FA4 #2952A4 #3D29A4
triadic
#2952A4 #A42952 #52A429
tetradic
#2952A4 #A4298F #A47B29 #29A43D
square
#2952A4 #A4298F #A47B29 #29A43D
split-complementary
#2952A4 #A43D29 #8FA429
monochromatic
#112142 #1D3A73 #2952A4 #3C6DCE #6D91DA

Accessibility & contrast

On white

7.40
#2952A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2952A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2952A4
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2952A4#FFFFFF#000000##FFFFFF
##2952A41.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225BA7
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#006673
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2952a4;
/* rgb */ color: rgb(41, 82, 164);
/* oklch */ color: oklch(45.6% 0.141 262.3);
Tailwind
colors: {
  custom: {
    50: '#7482bf',
    500: '#2952a4',
    950: '#000000',
  },
}
SCSS
$custom: #2952a4;
$custom-light: #7482bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2952a4",
  "rgb": {
    "r": 41,
    "g": 82,
    "b": 164
  },
  "hsl": {
    "h": 220,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45636,
    "c": 0.14054,
    "h": 262.3
  },
  "luminance": 0.09186
}

Semantic roles & 50–950 ramp

primary
#2952A4
secondary
#C1A368
accent
#AE45E3
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2952A4

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

Preview Lab → · Contrast checker → · Palette generator →

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