#2955AB#2955AB

#2955AB is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.8% C 0.147 H 262.0°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#2955AB
RGBrgb(41, 85, 171)
HSLhsl(220, 61%, 42%)
HSVhsv(220, 76%, 67%)
CMYKcmyk(76%, 50.3%, 0%, 32.9%)
CIE-LABlab(37.68, 16.02, -50.49)
CIE-LCHlch(37.68, 52.97, 287.60°)
OKLaboklab(46.81% -0.0203 -0.1451)
OKLCHoklch(46.81% 0.147 262)
XYZxyz(11.5110, 9.9074, 39.8258)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2955AB #AB7F29
analogous
#2996AB #2955AB #3E29AB
triadic
#2955AB #AB2955 #55AB29
tetradic
#2955AB #AB2996 #AB7F29 #29AB3E
square
#2955AB #AB2996 #AB7F29 #29AB3E
split-complementary
#2955AB #AB3E29 #96AB29
monochromatic
#112448 #1D3C7A #2955AB #4071D1 #7196DD

Accessibility & contrast

On white

7.04
#2955AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2955AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2955AB
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2955AB#FFFFFF#000000##FFFFFF
##2955AB1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215FAE
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2955ab;
/* rgb */ color: rgb(41, 85, 171);
/* oklch */ color: oklch(46.8% 0.147 262.0);
Tailwind
colors: {
  custom: {
    50: '#7684c5',
    500: '#2955ab',
    950: '#000000',
  },
}
SCSS
$custom: #2955ab;
$custom-light: #7684c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2955ab",
  "rgb": {
    "r": 41,
    "g": 85,
    "b": 171
  },
  "hsl": {
    "h": 219.692,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46812,
    "c": 0.14656,
    "h": 262
  },
  "luminance": 0.09909
}

Semantic roles & 50–950 ramp

primary
#2955AB
secondary
#C4A66C
accent
#AE43E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2955AB

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

Preview Lab → · Contrast checker → · Palette generator →

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