#2955BA#2955BA

#2955BA is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.0% C 0.167 H 263.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#2955BA
RGBrgb(41, 85, 186)
HSLhsl(222, 64%, 45%)
HSVhsv(222, 78%, 73%)
CMYKcmyk(78%, 54.3%, 0%, 27.1%)
CIE-LABlab(38.75, 21.79, -57.60)
CIE-LCHlch(38.75, 61.58, 290.72°)
OKLaboklab(47.97% -0.0187 -0.1661)
OKLCHoklch(47.97% 0.167 263.6)
XYZxyz(13.0227, 10.5121, 47.7875)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2955BA #BA8E29
analogous
#299EBA #2955BA #4529BA
triadic
#2955BA #BA2955 #55BA29
tetradic
#2955BA #BA299E #BA8E29 #29BA45
square
#2955BA #BA299E #BA8E29 #29BA45
split-complementary
#2955BA #BA4529 #9EBA29
monochromatic
#132756 #1E3E88 #2955BA #4974D7 #7B9BE2

Accessibility & contrast

On white

6.77
#2955BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2955BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2955BA
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2955BA#FFFFFF#000000##FFFFFF
##2955BA1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2955ba;
/* rgb */ color: rgb(41, 85, 186);
/* oklch */ color: oklch(48.0% 0.167 263.6);
Tailwind
colors: {
  custom: {
    50: '#7984cf',
    500: '#2955ba',
    950: '#000000',
  },
}
SCSS
$custom: #2955ba;
$custom-light: #7984cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2955ba",
  "rgb": {
    "r": 41,
    "g": 85,
    "b": 186
  },
  "hsl": {
    "h": 221.793,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47966,
    "c": 0.16712,
    "h": 263.6
  },
  "luminance": 0.10514
}

Semantic roles & 50–950 ramp

primary
#2955BA
secondary
#CAB075
accent
#B541E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2955BA

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

Preview Lab → · Contrast checker → · Palette generator →

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