#2955B2#2955B2

#2955B2 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.3% C 0.156 H 262.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2955B2
RGBrgb(41, 85, 178)
HSLhsl(221, 63%, 43%)
HSVhsv(221, 77%, 70%)
CMYKcmyk(77%, 52.2%, 0%, 30.2%)
CIE-LABlab(38.17, 18.72, -53.84)
CIE-LCHlch(38.17, 57.00, 289.17°)
OKLaboklab(47.34% -0.0195 -0.155)
OKLCHoklch(47.34% 0.156 262.8)
XYZxyz(12.1960, 10.1814, 43.4333)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2955B2 #B28629
analogous
#2999B2 #2955B2 #4129B2
triadic
#2955B2 #B22955 #55B229
tetradic
#2955B2 #B22999 #B28629 #29B241
square
#2955B2 #B22999 #B28629 #29B241
split-complementary
#2955B2 #B24129 #99B229
monochromatic
#12254F #1E3D80 #2955B2 #4472D4 #7698DF

Accessibility & contrast

On white

6.92
#2955B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2955B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2955B2
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2955B2#FFFFFF#000000##FFFFFF
##2955B21.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1660B5
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2955b2;
/* rgb */ color: rgb(41, 85, 178);
/* oklch */ color: oklch(47.3% 0.156 262.8);
Tailwind
colors: {
  custom: {
    50: '#7784ca',
    500: '#2955b2',
    950: '#000000',
  },
}
SCSS
$custom: #2955b2;
$custom-light: #7784ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2955b2",
  "rgb": {
    "r": 41,
    "g": 85,
    "b": 178
  },
  "hsl": {
    "h": 220.73,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47342,
    "c": 0.15622,
    "h": 262.8
  },
  "luminance": 0.10183
}

Semantic roles & 50–950 ramp

primary
#2955B2
secondary
#C7AB70
accent
#B142E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2955B2

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

Preview Lab → · Contrast checker → · Palette generator →

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