#2959B1#2959B1

#2959B1 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.1% C 0.150 H 261.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#2959B1
RGBrgb(41, 89, 177)
HSLhsl(219, 62%, 43%)
HSVhsv(219, 77%, 69%)
CMYKcmyk(76.8%, 49.7%, 0%, 30.6%)
CIE-LABlab(39.22, 15.69, -51.54)
CIE-LCHlch(39.22, 53.88, 286.94°)
OKLaboklab(48.13% -0.0228 -0.1482)
OKLCHoklch(48.13% 0.15 261.3)
XYZxyz(12.4198, 10.7891, 43.0144)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2959B1 #B18129
analogous
#299DB1 #2959B1 #3D29B1
triadic
#2959B1 #B12959 #59B129
tetradic
#2959B1 #B1299D #B18129 #29B13D
square
#2959B1 #B1299D #B18129 #29B13D
split-complementary
#2959B1 #B13D29 #9DB129
monochromatic
#12274E #1D407F #2959B1 #4476D4 #759BDF

Accessibility & contrast

On white

6.65
#2959B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2959B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2959B1
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2959B1#FFFFFF#000000##FFFFFF
##2959B11.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2563B4
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2959b1;
/* rgb */ color: rgb(41, 89, 177);
/* oklch */ color: oklch(48.1% 0.150 261.3);
Tailwind
colors: {
  custom: {
    50: '#7787c9',
    500: '#2959b1',
    950: '#000000',
  },
}
SCSS
$custom: #2959b1;
$custom-light: #7787c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2959b1",
  "rgb": {
    "r": 41,
    "g": 89,
    "b": 177
  },
  "hsl": {
    "h": 218.824,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48126,
    "c": 0.1499,
    "h": 261.3
  },
  "luminance": 0.1079
}

Semantic roles & 50–950 ramp

primary
#2959B1
secondary
#C7A86F
accent
#AC42E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2959B1

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

Preview Lab → · Contrast checker → · Palette generator →

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