#2950A5#2950A5

#2950A5 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.3% C 0.144 H 263.3°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#2950A5
RGBrgb(41, 80, 165)
HSLhsl(221, 60%, 40%)
HSVhsv(221, 75%, 65%)
CMYKcmyk(75.2%, 51.5%, 0%, 35.3%)
CIE-LABlab(35.84, 17.02, -49.88)
CIE-LCHlch(35.84, 52.71, 288.84°)
OKLaboklab(45.28% -0.0169 -0.1434)
OKLCHoklch(45.28% 0.144 263.3)
XYZxyz(10.5722, 8.9242, 36.7554)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2950A5 #A57E29
analogous
#298EA5 #2950A5 #4029A5
triadic
#2950A5 #A52950 #50A529
tetradic
#2950A5 #A5298E #A57E29 #29A540
square
#2950A5 #A5298E #A57E29 #29A540
split-complementary
#2950A5 #A54029 #8EA529
monochromatic
#112043 #1D3874 #2950A5 #3D6ACF #6E90DB

Accessibility & contrast

On white

7.54
#2950A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2950A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2950A5
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2950A5#FFFFFF#000000##FFFFFF
##2950A51.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5AA8
Deuteranopia (green-blind)
#004FA3
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2950a5;
/* rgb */ color: rgb(41, 80, 165);
/* oklch */ color: oklch(45.3% 0.144 263.3);
Tailwind
colors: {
  custom: {
    50: '#7480c0',
    500: '#2950a5',
    950: '#000000',
  },
}
SCSS
$custom: #2950a5;
$custom-light: #7480c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2950a5",
  "rgb": {
    "r": 41,
    "g": 80,
    "b": 165
  },
  "hsl": {
    "h": 221.129,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45277,
    "c": 0.14445,
    "h": 263.3
  },
  "luminance": 0.08925
}

Semantic roles & 50–950 ramp

primary
#2950A5
secondary
#C2A568
accent
#B144E3
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2950A5

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

Preview Lab → · Contrast checker → · Palette generator →

#2950A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva