#2955AC#2955AC

#2955AC is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.9% C 0.148 H 262.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#2955AC
RGBrgb(41, 85, 172)
HSLhsl(220, 62%, 42%)
HSVhsv(220, 76%, 67%)
CMYKcmyk(76.2%, 50.6%, 0%, 32.5%)
CIE-LABlab(37.74, 16.40, -50.97)
CIE-LCHlch(37.74, 53.54, 287.84°)
OKLaboklab(46.89% -0.0202 -0.1466)
OKLCHoklch(46.89% 0.148 262.2)
XYZxyz(11.6067, 9.9457, 40.3297)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2955AC #AC8029
analogous
#2997AC #2955AC #3E29AC
triadic
#2955AC #AC2955 #55AC29
tetradic
#2955AC #AC2997 #AC8029 #29AC3E
square
#2955AC #AC2997 #AC8029 #29AC3E
split-complementary
#2955AC #AC3E29 #97AC29
monochromatic
#112449 #1D3D7B #2955AC #4171D2 #7296DD

Accessibility & contrast

On white

7.02
#2955AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2955AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2955AC
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2955AC#FFFFFF#000000##FFFFFF
##2955AC1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205FAF
Deuteranopia (green-blind)
#0053AA
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2955ac;
/* rgb */ color: rgb(41, 85, 172);
/* oklch */ color: oklch(46.9% 0.148 262.2);
Tailwind
colors: {
  custom: {
    50: '#7684c5',
    500: '#2955ac',
    950: '#000000',
  },
}
SCSS
$custom: #2955ac;
$custom-light: #7684c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2955ac",
  "rgb": {
    "r": 41,
    "g": 85,
    "b": 172
  },
  "hsl": {
    "h": 219.847,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46887,
    "c": 0.14794,
    "h": 262.2
  },
  "luminance": 0.09947
}

Semantic roles & 50–950 ramp

primary
#2955AC
secondary
#C5A76C
accent
#AE43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2955AC

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

Preview Lab → · Contrast checker → · Palette generator →

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