#2955A1#2955A1

#2955A1 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.1% C 0.133 H 260.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#2955A1
RGBrgb(41, 85, 161)
HSLhsl(218, 59%, 40%)
HSVhsv(218, 75%, 63%)
CMYKcmyk(74.5%, 47.2%, 0%, 36.9%)
CIE-LABlab(37.00, 12.16, -45.61)
CIE-LCHlch(37.00, 47.20, 284.92°)
OKLaboklab(46.08% -0.0218 -0.1308)
OKLCHoklch(46.08% 0.133 260.5)
XYZxyz(10.5937, 9.5405, 34.9945)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2955A1 #A17529
analogous
#2991A1 #2955A1 #3929A1
triadic
#2955A1 #A12955 #55A129
tetradic
#2955A1 #A12991 #A17529 #29A139
square
#2955A1 #A12991 #A17529 #29A139
split-complementary
#2955A1 #A13929 #91A129
monochromatic
#10213F #1D3B70 #2955A1 #3A70CD #6B93D9

Accessibility & contrast

On white

7.22
#2955A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2955A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2955A1
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2955A1#FFFFFF#000000##FFFFFF
##2955A11.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5DA4
Deuteranopia (green-blind)
#10529F
Tritanopia (blue-blind)
#006773
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2955a1;
/* rgb */ color: rgb(41, 85, 161);
/* oklch */ color: oklch(46.1% 0.133 260.5);
Tailwind
colors: {
  custom: {
    50: '#7384bd',
    500: '#2955a1',
    950: '#000000',
  },
}
SCSS
$custom: #2955a1;
$custom-light: #7384bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2955a1",
  "rgb": {
    "r": 41,
    "g": 85,
    "b": 161
  },
  "hsl": {
    "h": 218,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46083,
    "c": 0.1326,
    "h": 260.5
  },
  "luminance": 0.09542
}

Semantic roles & 50–950 ramp

primary
#2955A1
secondary
#C09F66
accent
#A945E3
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2955A1

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

Preview Lab → · Contrast checker → · Palette generator →

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