#2955B3#2955B3

#2955B3 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.4% C 0.158 H 262.9°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2955B3
RGBrgb(41, 85, 179)
HSLhsl(221, 63%, 43%)
HSVhsv(221, 77%, 70%)
CMYKcmyk(77.1%, 52.5%, 0%, 29.8%)
CIE-LABlab(38.24, 19.10, -54.31)
CIE-LCHlch(38.24, 57.57, 289.38°)
OKLaboklab(47.42% -0.0193 -0.1564)
OKLCHoklch(47.42% 0.158 262.9)
XYZxyz(12.2967, 10.2217, 43.9640)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2955B3 #B38729
analogous
#299AB3 #2955B3 #4229B3
triadic
#2955B3 #B32955 #55B329
tetradic
#2955B3 #B3299A #B38729 #29B342
square
#2955B3 #B3299A #B38729 #29B342
split-complementary
#2955B3 #B34229 #9AB329
monochromatic
#12264F #1E3D81 #2955B3 #4573D4 #7798E0

Accessibility & contrast

On white

6.90
#2955B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2955B3
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2955B3#FFFFFF#000000##FFFFFF
##2955B31.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1361B6
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2955b3;
/* rgb */ color: rgb(41, 85, 179);
/* oklch */ color: oklch(47.4% 0.158 262.9);
Tailwind
colors: {
  custom: {
    50: '#7784ca',
    500: '#2955b3',
    950: '#000000',
  },
}
SCSS
$custom: #2955b3;
$custom-light: #7784ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2955b3",
  "rgb": {
    "r": 41,
    "g": 85,
    "b": 179
  },
  "hsl": {
    "h": 220.87,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47419,
    "c": 0.15759,
    "h": 262.9
  },
  "luminance": 0.10223
}

Semantic roles & 50–950 ramp

primary
#2955B3
secondary
#C7AC70
accent
#B242E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2955B3

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

Preview Lab → · Contrast checker → · Palette generator →

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