#2955B5#2955B5

#2955B5 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.6% C 0.160 H 263.1°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#2955B5
RGBrgb(41, 85, 181)
HSLhsl(221, 63%, 44%)
HSVhsv(221, 77%, 71%)
CMYKcmyk(77.3%, 53%, 0%, 29%)
CIE-LABlab(38.38, 19.87, -55.26)
CIE-LCHlch(38.38, 58.72, 289.78°)
OKLaboklab(47.57% -0.0191 -0.1592)
OKLCHoklch(47.57% 0.16 263.1)
XYZxyz(12.5005, 10.3032, 45.0370)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2955B5 #B58929
analogous
#299BB5 #2955B5 #4329B5
triadic
#2955B5 #B52955 #55B529
tetradic
#2955B5 #B5299B #B58929 #29B543
square
#2955B5 #B5299B #B58929 #29B543
split-complementary
#2955B5 #B54329 #9BB529
monochromatic
#122651 #1E3E83 #2955B5 #4673D5 #7899E0

Accessibility & contrast

On white

6.86
#2955B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2955B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2955B5
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2955B5#FFFFFF#000000##FFFFFF
##2955B51.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E61B8
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#006C7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2955b5;
/* rgb */ color: rgb(41, 85, 181);
/* oklch */ color: oklch(47.6% 0.160 263.1);
Tailwind
colors: {
  custom: {
    50: '#7884cc',
    500: '#2955b5',
    950: '#000000',
  },
}
SCSS
$custom: #2955b5;
$custom-light: #7884cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2955b5",
  "rgb": {
    "r": 41,
    "g": 85,
    "b": 181
  },
  "hsl": {
    "h": 221.143,
    "s": 63.063,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47574,
    "c": 0.16033,
    "h": 263.1
  },
  "luminance": 0.10305
}

Semantic roles & 50–950 ramp

primary
#2955B5
secondary
#C8AD72
accent
#B242E6
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2955B5

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

Preview Lab → · Contrast checker → · Palette generator →

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