#2952B1#2952B1

#2952B1 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.6% C 0.159 H 263.8°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#2952B1
RGBrgb(41, 82, 177)
HSLhsl(222, 62%, 43%)
HSVhsv(222, 77%, 69%)
CMYKcmyk(76.8%, 53.7%, 0%, 30.6%)
CIE-LABlab(37.26, 20.32, -54.71)
CIE-LCHlch(37.26, 58.36, 290.37°)
OKLaboklab(46.63% -0.0173 -0.1576)
OKLCHoklch(46.63% 0.159 263.8)
XYZxyz(11.8647, 9.6790, 42.8294)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2952B1 #B18829
analogous
#2996B1 #2952B1 #4429B1
triadic
#2952B1 #B12952 #52B129
tetradic
#2952B1 #B12996 #B18829 #29B144
square
#2952B1 #B12996 #B18829 #29B144
split-complementary
#2952B1 #B14429 #96B129
monochromatic
#12244E #1D3B7F #2952B1 #446FD4 #7595DF

Accessibility & contrast

On white

7.15
#2952B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2952B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2952B1
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2952B1#FFFFFF#000000##FFFFFF
##2952B11.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075EB4
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2952b1;
/* rgb */ color: rgb(41, 82, 177);
/* oklch */ color: oklch(46.6% 0.159 263.8);
Tailwind
colors: {
  custom: {
    50: '#7782c9',
    500: '#2952b1',
    950: '#000000',
  },
}
SCSS
$custom: #2952b1;
$custom-light: #7782c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2952b1",
  "rgb": {
    "r": 41,
    "g": 82,
    "b": 177
  },
  "hsl": {
    "h": 221.912,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46631,
    "c": 0.15857,
    "h": 263.8
  },
  "luminance": 0.0968
}

Semantic roles & 50–950 ramp

primary
#2952B1
secondary
#C7AC6F
accent
#B442E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2952B1

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

Preview Lab → · Contrast checker → · Palette generator →

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