#2955B1#2955B1

#2955B1 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.3% C 0.155 H 262.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#2955B1
RGBrgb(41, 85, 177)
HSLhsl(221, 62%, 43%)
HSVhsv(221, 77%, 69%)
CMYKcmyk(76.8%, 52%, 0%, 30.6%)
CIE-LABlab(38.09, 18.33, -53.36)
CIE-LCHlch(38.09, 56.42, 288.96°)
OKLaboklab(47.27% -0.0196 -0.1536)
OKLCHoklch(47.27% 0.155 262.7)
XYZxyz(12.0959, 10.1414, 42.9064)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2955B1 #B18529
analogous
#2999B1 #2955B1 #4129B1
triadic
#2955B1 #B12955 #55B129
tetradic
#2955B1 #B12999 #B18529 #29B141
square
#2955B1 #B12999 #B18529 #29B141
split-complementary
#2955B1 #B14129 #99B129
monochromatic
#12254E #1D3D7F #2955B1 #4472D4 #7598DF

Accessibility & contrast

On white

6.93
#2955B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2955B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2955B1
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2955B1#FFFFFF#000000##FFFFFF
##2955B11.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1860B4
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2955b1;
/* rgb */ color: rgb(41, 85, 177);
/* oklch */ color: oklch(47.3% 0.155 262.7);
Tailwind
colors: {
  custom: {
    50: '#7784c9',
    500: '#2955b1',
    950: '#000000',
  },
}
SCSS
$custom: #2955b1;
$custom-light: #7784c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2955b1",
  "rgb": {
    "r": 41,
    "g": 85,
    "b": 177
  },
  "hsl": {
    "h": 220.588,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47265,
    "c": 0.15484,
    "h": 262.7
  },
  "luminance": 0.10143
}

Semantic roles & 50–950 ramp

primary
#2955B1
secondary
#C7AA6F
accent
#B142E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2955B1

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

Preview Lab → · Contrast checker → · Palette generator →

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