#2952AB#2952AB

#2952AB is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.2% C 0.150 H 263.2°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#2952AB
RGBrgb(41, 82, 171)
HSLhsl(221, 61%, 42%)
HSVhsv(221, 76%, 67%)
CMYKcmyk(76%, 52%, 0%, 32.9%)
CIE-LABlab(36.83, 18.01, -51.86)
CIE-LCHlch(36.83, 54.89, 289.15°)
OKLaboklab(46.17% -0.0179 -0.1492)
OKLCHoklch(46.17% 0.15 263.2)
XYZxyz(11.2798, 9.4450, 39.7488)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2952AB #AB8229
analogous
#2993AB #2952AB #4129AB
triadic
#2952AB #AB2952 #52AB29
tetradic
#2952AB #AB2993 #AB8229 #29AB41
square
#2952AB #AB2993 #AB8229 #29AB41
split-complementary
#2952AB #AB4129 #93AB29
monochromatic
#112348 #1D3A7A #2952AB #406ED1 #7193DD

Accessibility & contrast

On white

7.27
#2952AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2952AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2952AB
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2952AB#FFFFFF#000000##FFFFFF
##2952AB1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175DAE
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2952ab;
/* rgb */ color: rgb(41, 82, 171);
/* oklch */ color: oklch(46.2% 0.150 263.2);
Tailwind
colors: {
  custom: {
    50: '#7682c5',
    500: '#2952ab',
    950: '#000000',
  },
}
SCSS
$custom: #2952ab;
$custom-light: #7682c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2952ab",
  "rgb": {
    "r": 41,
    "g": 82,
    "b": 171
  },
  "hsl": {
    "h": 221.077,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46165,
    "c": 0.1503,
    "h": 263.2
  },
  "luminance": 0.09446
}

Semantic roles & 50–950 ramp

primary
#2952AB
secondary
#C4A86C
accent
#B243E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2952AB

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

Preview Lab → · Contrast checker → · Palette generator →

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