#2956A8#2956A8

#2956A8 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.8% C 0.141 H 261.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#2956A8
RGBrgb(41, 86, 168)
HSLhsl(219, 61%, 41%)
HSVhsv(219, 76%, 66%)
CMYKcmyk(75.6%, 48.8%, 0%, 34.1%)
CIE-LABlab(37.76, 14.20, -48.57)
CIE-LCHlch(37.76, 50.61, 286.29°)
OKLaboklab(46.81% -0.0216 -0.1395)
OKLCHoklch(46.81% 0.141 261.2)
XYZxyz(11.3076, 9.9529, 38.3634)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2956A8 #A87B29
analogous
#2995A8 #2956A8 #3B29A8
triadic
#2956A8 #A82956 #56A829
tetradic
#2956A8 #A82995 #A87B29 #29A83B
square
#2956A8 #A82995 #A87B29 #29A83B
split-complementary
#2956A8 #A83B29 #95A829
monochromatic
#112446 #1D3D77 #2956A8 #3E72D0 #6F96DC

Accessibility & contrast

On white

7.02
#2956A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2956A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2956A8
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2956A8#FFFFFF#000000##FFFFFF
##2956A81.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)
#285FAB
Deuteranopia (green-blind)
#0053A6
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2956a8;
/* rgb */ color: rgb(41, 86, 168);
/* oklch */ color: oklch(46.8% 0.141 261.2);
Tailwind
colors: {
  custom: {
    50: '#7585c2',
    500: '#2956a8',
    950: '#000000',
  },
}
SCSS
$custom: #2956a8;
$custom-light: #7585c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2956a8",
  "rgb": {
    "r": 41,
    "g": 86,
    "b": 168
  },
  "hsl": {
    "h": 218.74,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4681,
    "c": 0.14115,
    "h": 261.2
  },
  "luminance": 0.09954
}

Semantic roles & 50–950 ramp

primary
#2956A8
secondary
#C3A36A
accent
#AB44E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2956A8

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

Preview Lab → · Contrast checker → · Palette generator →

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