#2952A1#2952A1

#2952A1 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.4% C 0.136 H 261.9°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#2952A1
RGBrgb(41, 82, 161)
HSLhsl(220, 59%, 40%)
HSVhsv(220, 75%, 63%)
CMYKcmyk(74.5%, 49.1%, 0%, 36.9%)
CIE-LABlab(36.13, 14.14, -47.01)
CIE-LCHlch(36.13, 49.09, 286.75°)
OKLaboklab(45.42% -0.0192 -0.135)
OKLCHoklch(45.42% 0.136 261.9)
XYZxyz(10.3625, 9.0781, 34.9174)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2952A1 #A17829
analogous
#298EA1 #2952A1 #3C29A1
triadic
#2952A1 #A12952 #52A129
tetradic
#2952A1 #A1298E #A17829 #29A13C
square
#2952A1 #A1298E #A17829 #29A13C
split-complementary
#2952A1 #A13C29 #8EA129
monochromatic
#10203F #1D3970 #2952A1 #3A6CCD #6B91D9

Accessibility & contrast

On white

7.46
#2952A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2952A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2952A1
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2952A1#FFFFFF#000000##FFFFFF
##2952A11.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265BA4
Deuteranopia (green-blind)
#00509F
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2952a1;
/* rgb */ color: rgb(41, 82, 161);
/* oklch */ color: oklch(45.4% 0.136 261.9);
Tailwind
colors: {
  custom: {
    50: '#7382bd',
    500: '#2952a1',
    950: '#000000',
  },
}
SCSS
$custom: #2952a1;
$custom-light: #7382bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2952a1",
  "rgb": {
    "r": 41,
    "g": 82,
    "b": 161
  },
  "hsl": {
    "h": 219.5,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45415,
    "c": 0.13633,
    "h": 261.9
  },
  "luminance": 0.09079
}

Semantic roles & 50–950 ramp

primary
#2952A1
secondary
#C0A166
accent
#AD45E3
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2952A1

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

Preview Lab → · Contrast checker → · Palette generator →

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