#2956AE#2956AE

#2956AE is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.3% C 0.149 H 262.0°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2956AE
RGBrgb(41, 86, 174)
HSLhsl(220, 62%, 42%)
HSVhsv(220, 76%, 68%)
CMYKcmyk(76.4%, 50.6%, 0%, 31.8%)
CIE-LABlab(38.17, 16.51, -51.47)
CIE-LCHlch(38.17, 54.06, 287.79°)
OKLaboklab(47.25% -0.0207 -0.148)
OKLCHoklch(47.25% 0.149 262)
XYZxyz(11.8795, 10.1816, 41.3754)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2956AE #AE8129
analogous
#2999AE #2956AE #3E29AE
triadic
#2956AE #AE2956 #56AE29
tetradic
#2956AE #AE2999 #AE8129 #29AE3E
square
#2956AE #AE2999 #AE8129 #29AE3E
split-complementary
#2956AE #AE3E29 #99AE29
monochromatic
#12254B #1D3E7C #2956AE #4273D2 #7397DE

Accessibility & contrast

On white

6.92
#2956AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2956AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2956AE
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2956AE#FFFFFF#000000##FFFFFF
##2956AE1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2060B1
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2956ae;
/* rgb */ color: rgb(41, 86, 174);
/* oklch */ color: oklch(47.3% 0.149 262.0);
Tailwind
colors: {
  custom: {
    50: '#7685c7',
    500: '#2956ae',
    950: '#000000',
  },
}
SCSS
$custom: #2956ae;
$custom-light: #7685c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2956ae",
  "rgb": {
    "r": 41,
    "g": 86,
    "b": 174
  },
  "hsl": {
    "h": 219.699,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47253,
    "c": 0.14948,
    "h": 262
  },
  "luminance": 0.10183
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2956AE

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

Preview Lab → · Contrast checker → · Palette generator →

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