#2955B7#2955B7

#2955B7 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.7% C 0.163 H 263.3°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#2955B7
RGBrgb(41, 85, 183)
HSLhsl(221, 63%, 44%)
HSVhsv(221, 78%, 72%)
CMYKcmyk(77.6%, 53.6%, 0%, 28.2%)
CIE-LABlab(38.53, 20.64, -56.20)
CIE-LCHlch(38.53, 59.87, 290.17°)
OKLaboklab(47.73% -0.019 -0.1619)
OKLCHoklch(47.73% 0.163 263.3)
XYZxyz(12.7071, 10.3859, 46.1255)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2955B7 #B78B29
analogous
#299CB7 #2955B7 #4429B7
triadic
#2955B7 #B72955 #55B729
tetradic
#2955B7 #B7299C #B78B29 #29B744
square
#2955B7 #B7299C #B78B29 #29B744
split-complementary
#2955B7 #B74429 #9CB729
monochromatic
#132753 #1E3E85 #2955B7 #4774D6 #7999E1

Accessibility & contrast

On white

6.82
#2955B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2955B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2955B7
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2955B7#FFFFFF#000000##FFFFFF
##2955B71.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0762BA
Deuteranopia (green-blind)
#0055B5
Tritanopia (blue-blind)
#006D7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2955b7;
/* rgb */ color: rgb(41, 85, 183);
/* oklch */ color: oklch(47.7% 0.163 263.3);
Tailwind
colors: {
  custom: {
    50: '#7884cd',
    500: '#2955b7',
    950: '#000000',
  },
}
SCSS
$custom: #2955b7;
$custom-light: #7884cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2955b7",
  "rgb": {
    "r": 41,
    "g": 85,
    "b": 183
  },
  "hsl": {
    "h": 221.408,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4773,
    "c": 0.16304,
    "h": 263.3
  },
  "luminance": 0.10387
}

Semantic roles & 50–950 ramp

primary
#2955B7
secondary
#C9AE73
accent
#B341E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #2955B7

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

Preview Lab → · Contrast checker → · Palette generator →

#2955B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva