#2955BD#2955BD

#2955BD is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.2% C 0.171 H 263.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#2955BD
RGBrgb(41, 85, 189)
HSLhsl(222, 64%, 45%)
HSVhsv(222, 78%, 74%)
CMYKcmyk(78.3%, 55%, 0%, 25.9%)
CIE-LABlab(38.97, 22.94, -58.99)
CIE-LCHlch(38.97, 63.30, 291.25°)
OKLaboklab(48.21% -0.0184 -0.1702)
OKLCHoklch(48.21% 0.171 263.8)
XYZxyz(13.3450, 10.6410, 49.4848)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2955BD #BD9129
analogous
#299FBD #2955BD #4729BD
triadic
#2955BD #BD2955 #55BD29
tetradic
#2955BD #BD299F #BD9129 #29BD47
square
#2955BD #BD299F #BD9129 #29BD47
split-complementary
#2955BD #BD4729 #9FBD29
monochromatic
#132858 #1E3E8B #2955BD #4B75D8 #7D9CE3

Accessibility & contrast

On white

6.71
#2955BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2955BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2955BD
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2955BD#FFFFFF#000000##FFFFFF
##2955BD1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#0055BB
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2955bd;
/* rgb */ color: rgb(41, 85, 189);
/* oklch */ color: oklch(48.2% 0.171 263.8);
Tailwind
colors: {
  custom: {
    50: '#7a84d2',
    500: '#2955bd',
    950: '#000000',
  },
}
SCSS
$custom: #2955bd;
$custom-light: #7a84d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2955bd",
  "rgb": {
    "r": 41,
    "g": 85,
    "b": 189
  },
  "hsl": {
    "h": 222.162,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48205,
    "c": 0.17117,
    "h": 263.8
  },
  "luminance": 0.10643
}

Semantic roles & 50–950 ramp

primary
#2955BD
secondary
#CBB277
accent
#B640E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2955BD

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

Preview Lab → · Contrast checker → · Palette generator →

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