#2955A2#2955A2

#2955A2 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.2% C 0.134 H 260.7°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#2955A2
RGBrgb(41, 85, 162)
HSLhsl(218, 60%, 40%)
HSVhsv(218, 75%, 64%)
CMYKcmyk(74.7%, 47.5%, 0%, 36.5%)
CIE-LABlab(37.07, 12.54, -46.10)
CIE-LCHlch(37.07, 47.78, 285.22°)
OKLaboklab(46.15% -0.0217 -0.1322)
OKLCHoklch(46.15% 0.134 260.7)
XYZxyz(10.6822, 9.5759, 35.4608)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2955A2 #A27629
analogous
#2991A2 #2955A2 #3A29A2
triadic
#2955A2 #A22955 #55A229
tetradic
#2955A2 #A22991 #A27629 #29A23A
square
#2955A2 #A22991 #A27629 #29A23A
split-complementary
#2955A2 #A23A29 #91A229
monochromatic
#102240 #1D3B71 #2955A2 #3B70CD #6C94DA

Accessibility & contrast

On white

7.20
#2955A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2955A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2955A2
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2955A2#FFFFFF#000000##FFFFFF
##2955A21.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5DA5
Deuteranopia (green-blind)
#0D52A0
Tritanopia (blue-blind)
#006773
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2955a2;
/* rgb */ color: rgb(41, 85, 162);
/* oklch */ color: oklch(46.2% 0.134 260.7);
Tailwind
colors: {
  custom: {
    50: '#7484be',
    500: '#2955a2',
    950: '#000000',
  },
}
SCSS
$custom: #2955a2;
$custom-light: #7484be;
$custom-dark: #000000;
JSON
{
  "hex": "#2955a2",
  "rgb": {
    "r": 41,
    "g": 85,
    "b": 162
  },
  "hsl": {
    "h": 218.182,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46154,
    "c": 0.134,
    "h": 260.7
  },
  "luminance": 0.09577
}

Semantic roles & 50–950 ramp

primary
#2955A2
secondary
#C0A067
accent
#A945E3
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2955A2

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

Preview Lab → · Contrast checker → · Palette generator →

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