#2951BD#2951BD

#2951BD is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.4% C 0.176 H 264.9°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#2951BD
RGBrgb(41, 81, 189)
HSLhsl(224, 64%, 45%)
HSVhsv(224, 78%, 74%)
CMYKcmyk(78.3%, 57.1%, 0%, 25.9%)
CIE-LABlab(37.89, 25.57, -60.74)
CIE-LCHlch(37.89, 65.90, 292.83°)
OKLaboklab(47.4% -0.0157 -0.1754)
OKLCHoklch(47.4% 0.176 264.9)
XYZxyz(13.0389, 10.0289, 49.3828)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2951BD #BD9529
analogous
#299BBD #2951BD #4B29BD
triadic
#2951BD #BD2951 #51BD29
tetradic
#2951BD #BD299B #BD9529 #29BD4B
square
#2951BD #BD299B #BD9529 #29BD4B
split-complementary
#2951BD #BD4B29 #9BBD29
monochromatic
#132658 #1E3B8B #2951BD #4B71D8 #7D99E3

Accessibility & contrast

On white

6.99
#2951BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2951BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2951BD
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2951BD#FFFFFF#000000##FFFFFF
##2951BD1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#0053BB
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2951bd;
/* rgb */ color: rgb(41, 81, 189);
/* oklch */ color: oklch(47.4% 0.176 264.9);
Tailwind
colors: {
  custom: {
    50: '#7a81d2',
    500: '#2951bd',
    950: '#000000',
  },
}
SCSS
$custom: #2951bd;
$custom-light: #7a81d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2951bd",
  "rgb": {
    "r": 41,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 223.784,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47395,
    "c": 0.17608,
    "h": 264.9
  },
  "luminance": 0.1003
}

Semantic roles & 50–950 ramp

primary
#2951BD
secondary
#CBB477
accent
#BA40E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2951BD

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

Preview Lab → · Contrast checker → · Palette generator →

#2951BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva