#2959BA#2959BA

#2959BA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.8% C 0.162 H 262.3°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#2959BA
RGBrgb(41, 89, 186)
HSLhsl(220, 64%, 45%)
HSVhsv(220, 78%, 73%)
CMYKcmyk(78%, 52.2%, 0%, 27.1%)
CIE-LABlab(39.85, 19.16, -55.81)
CIE-LCHlch(39.85, 59.01, 288.95°)
OKLaboklab(48.8% -0.0216 -0.1607)
OKLCHoklch(48.8% 0.162 262.3)
XYZxyz(13.3466, 11.1598, 47.8955)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2959BA #BA8A29
analogous
#29A2BA #2959BA #4229BA
triadic
#2959BA #BA2959 #59BA29
tetradic
#2959BA #BA29A2 #BA8A29 #29BA42
square
#2959BA #BA29A2 #BA8A29 #29BA42
split-complementary
#2959BA #BA4229 #A2BA29
monochromatic
#132956 #1E4188 #2959BA #4978D7 #7B9DE2

Accessibility & contrast

On white

6.50
#2959BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2959BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2959BA
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2959BA#FFFFFF#000000##FFFFFF
##2959BA1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1665BD
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2959ba;
/* rgb */ color: rgb(41, 89, 186);
/* oklch */ color: oklch(48.8% 0.162 262.3);
Tailwind
colors: {
  custom: {
    50: '#7987cf',
    500: '#2959ba',
    950: '#000000',
  },
}
SCSS
$custom: #2959ba;
$custom-light: #7987cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2959ba",
  "rgb": {
    "r": 41,
    "g": 89,
    "b": 186
  },
  "hsl": {
    "h": 220.138,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48803,
    "c": 0.1622,
    "h": 262.3
  },
  "luminance": 0.11161
}

Semantic roles & 50–950 ramp

primary
#2959BA
secondary
#CAAE75
accent
#B041E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #2959BA

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

Preview Lab → · Contrast checker → · Palette generator →

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