#2956AD#2956AD

#2956AD is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.2% C 0.148 H 261.9°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#2956AD
RGBrgb(41, 86, 173)
HSLhsl(220, 62%, 42%)
HSVhsv(220, 76%, 68%)
CMYKcmyk(76.3%, 50.3%, 0%, 32.2%)
CIE-LABlab(38.10, 16.13, -50.99)
CIE-LCHlch(38.10, 53.48, 287.55°)
OKLaboklab(47.18% -0.0209 -0.1466)
OKLCHoklch(47.18% 0.148 261.9)
XYZxyz(11.7824, 10.1428, 40.8638)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2956AD #AD8029
analogous
#2998AD #2956AD #3E29AD
triadic
#2956AD #AD2956 #56AD29
tetradic
#2956AD #AD2998 #AD8029 #29AD3E
square
#2956AD #AD2998 #AD8029 #29AD3E
split-complementary
#2956AD #AD3E29 #98AD29
monochromatic
#12254A #1D3D7C #2956AD #4173D2 #7397DE

Accessibility & contrast

On white

6.93
#2956AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2956AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2956AD
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2956AD#FFFFFF#000000##FFFFFF
##2956AD1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2260B0
Deuteranopia (green-blind)
#0054AB
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2956ad;
/* rgb */ color: rgb(41, 86, 173);
/* oklch */ color: oklch(47.2% 0.148 261.9);
Tailwind
colors: {
  custom: {
    50: '#7685c6',
    500: '#2956ad',
    950: '#000000',
  },
}
SCSS
$custom: #2956ad;
$custom-light: #7685c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2956ad",
  "rgb": {
    "r": 41,
    "g": 86,
    "b": 173
  },
  "hsl": {
    "h": 219.545,
    "s": 61.682,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47178,
    "c": 0.14809,
    "h": 261.9
  },
  "luminance": 0.10144
}

Semantic roles & 50–950 ramp

primary
#2956AD
secondary
#C5A76D
accent
#AE43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2956AD

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

Preview Lab → · Contrast checker → · Palette generator →

#2956AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva