#2959B2#2959B2

#2959B2 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.2% C 0.151 H 261.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#2959B2
RGBrgb(41, 89, 178)
HSLhsl(219, 63%, 43%)
HSVhsv(219, 77%, 70%)
CMYKcmyk(77%, 50%, 0%, 30.2%)
CIE-LABlab(39.29, 16.08, -52.02)
CIE-LCHlch(39.29, 54.45, 287.18°)
OKLaboklab(48.2% -0.0226 -0.1496)
OKLCHoklch(48.2% 0.151 261.4)
XYZxyz(12.5198, 10.8291, 43.5412)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2959B2 #B28229
analogous
#299DB2 #2959B2 #3D29B2
triadic
#2959B2 #B22959 #59B229
tetradic
#2959B2 #B2299D #B28229 #29B23D
square
#2959B2 #B2299D #B28229 #29B23D
split-complementary
#2959B2 #B23D29 #9DB229
monochromatic
#12274F #1E4080 #2959B2 #4477D4 #769BDF

Accessibility & contrast

On white

6.63
#2959B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2959B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2959B2
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2959B2#FFFFFF#000000##FFFFFF
##2959B21.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2463B5
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2959b2;
/* rgb */ color: rgb(41, 89, 178);
/* oklch */ color: oklch(48.2% 0.151 261.4);
Tailwind
colors: {
  custom: {
    50: '#7787ca',
    500: '#2959b2',
    950: '#000000',
  },
}
SCSS
$custom: #2959b2;
$custom-light: #7787ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2959b2",
  "rgb": {
    "r": 41,
    "g": 89,
    "b": 178
  },
  "hsl": {
    "h": 218.978,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.482,
    "c": 0.15128,
    "h": 261.4
  },
  "luminance": 0.10831
}

Semantic roles & 50–950 ramp

primary
#2959B2
secondary
#C7A870
accent
#AC42E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2959B2

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

Preview Lab → · Contrast checker → · Palette generator →

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