#2955B6#2955B6

#2955B6 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.7% C 0.162 H 263.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2955B6
RGBrgb(41, 85, 182)
HSLhsl(221, 63%, 44%)
HSVhsv(221, 77%, 71%)
CMYKcmyk(77.5%, 53.3%, 0%, 28.6%)
CIE-LABlab(38.45, 20.25, -55.73)
CIE-LCHlch(38.45, 59.29, 289.97°)
OKLaboklab(47.65% -0.019 -0.1606)
OKLCHoklch(47.65% 0.162 263.2)
XYZxyz(12.6034, 10.3444, 45.5793)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2955B6 #B68A29
analogous
#299BB6 #2955B6 #4329B6
triadic
#2955B6 #B62955 #55B629
tetradic
#2955B6 #B6299B #B68A29 #29B643
square
#2955B6 #B6299B #B68A29 #29B643
split-complementary
#2955B6 #B64329 #9BB629
monochromatic
#122652 #1E3E84 #2955B6 #4773D5 #7999E1

Accessibility & contrast

On white

6.84
#2955B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2955B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2955B6
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2955B6#FFFFFF#000000##FFFFFF
##2955B61.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A61B9
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#006D7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2955b6;
/* rgb */ color: rgb(41, 85, 182);
/* oklch */ color: oklch(47.7% 0.162 263.2);
Tailwind
colors: {
  custom: {
    50: '#7884cd',
    500: '#2955b6',
    950: '#000000',
  },
}
SCSS
$custom: #2955b6;
$custom-light: #7884cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2955b6",
  "rgb": {
    "r": 41,
    "g": 85,
    "b": 182
  },
  "hsl": {
    "h": 221.277,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47652,
    "c": 0.16168,
    "h": 263.2
  },
  "luminance": 0.10346
}

Semantic roles & 50–950 ramp

primary
#2955B6
secondary
#C9AE72
accent
#B342E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2955B6

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

Preview Lab → · Contrast checker → · Palette generator →

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