#2959BD#2959BD

#2959BD is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.0% C 0.166 H 262.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#2959BD
RGBrgb(41, 89, 189)
HSLhsl(221, 64%, 45%)
HSVhsv(221, 78%, 74%)
CMYKcmyk(78.3%, 52.9%, 0%, 25.9%)
CIE-LABlab(40.06, 20.31, -57.22)
CIE-LCHlch(40.06, 60.72, 289.54°)
OKLaboklab(49.03% -0.0213 -0.1649)
OKLCHoklch(49.03% 0.166 262.6)
XYZxyz(13.6688, 11.2887, 49.5928)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2959BD #BD8D29
analogous
#29A3BD #2959BD #4329BD
triadic
#2959BD #BD2959 #59BD29
tetradic
#2959BD #BD29A3 #BD8D29 #29BD43
square
#2959BD #BD29A3 #BD8D29 #29BD43
split-complementary
#2959BD #BD4329 #A3BD29
monochromatic
#132A58 #1E418B #2959BD #4B79D8 #7D9EE3

Accessibility & contrast

On white

6.45
#2959BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#2959BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2959BD
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2959BD#FFFFFF#000000##FFFFFF
##2959BD1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E66C1
Deuteranopia (green-blind)
#0058BB
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2959bd;
/* rgb */ color: rgb(41, 89, 189);
/* oklch */ color: oklch(49.0% 0.166 262.6);
Tailwind
colors: {
  custom: {
    50: '#7a87d2',
    500: '#2959bd',
    950: '#000000',
  },
}
SCSS
$custom: #2959bd;
$custom-light: #7a87d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2959bd",
  "rgb": {
    "r": 41,
    "g": 89,
    "b": 189
  },
  "hsl": {
    "h": 220.541,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49034,
    "c": 0.16625,
    "h": 262.6
  },
  "luminance": 0.1129
}

Semantic roles & 50–950 ramp

primary
#2959BD
secondary
#CBB077
accent
#B140E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2959BD

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

Preview Lab → · Contrast checker → · Palette generator →

#2959BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva