#2952A2#2952A2

#2952A2 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.5% C 0.138 H 262.1°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#2952A2
RGBrgb(41, 82, 162)
HSLhsl(220, 60%, 40%)
HSVhsv(220, 75%, 64%)
CMYKcmyk(74.7%, 49.4%, 0%, 36.5%)
CIE-LABlab(36.20, 14.53, -47.50)
CIE-LCHlch(36.20, 49.67, 287.01°)
OKLaboklab(45.49% -0.019 -0.1364)
OKLCHoklch(45.49% 0.138 262.1)
XYZxyz(10.4510, 9.1135, 35.3837)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2952A2 #A27929
analogous
#298FA2 #2952A2 #3C29A2
triadic
#2952A2 #A22952 #52A229
tetradic
#2952A2 #A2298F #A27929 #29A23C
square
#2952A2 #A2298F #A27929 #29A23C
split-complementary
#2952A2 #A23C29 #8FA229
monochromatic
#102140 #1D3971 #2952A2 #3B6CCD #6C91DA

Accessibility & contrast

On white

7.44
#2952A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2952A2
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2952A2#FFFFFF#000000##FFFFFF
##2952A21.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255BA5
Deuteranopia (green-blind)
#0050A0
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2952a2;
/* rgb */ color: rgb(41, 82, 162);
/* oklch */ color: oklch(45.5% 0.138 262.1);
Tailwind
colors: {
  custom: {
    50: '#7482be',
    500: '#2952a2',
    950: '#000000',
  },
}
SCSS
$custom: #2952a2;
$custom-light: #7482be;
$custom-dark: #000000;
JSON
{
  "hex": "#2952a2",
  "rgb": {
    "r": 41,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 219.669,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45488,
    "c": 0.13773,
    "h": 262.1
  },
  "luminance": 0.09115
}

Semantic roles & 50–950 ramp

primary
#2952A2
secondary
#C0A267
accent
#AD45E3
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2952A2

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

Preview Lab → · Contrast checker → · Palette generator →

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