#2959C9#2959C9

#2959C9 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.0% C 0.182 H 263.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#2959C9
RGBrgb(41, 89, 201)
HSLhsl(222, 66%, 47%)
HSVhsv(222, 80%, 79%)
CMYKcmyk(79.6%, 55.7%, 0%, 21.2%)
CIE-LABlab(40.95, 24.89, -62.76)
CIE-LCHlch(40.95, 67.52, 291.64°)
OKLaboklab(49.98% -0.0203 -0.1812)
OKLCHoklch(49.98% 0.182 263.6)
XYZxyz(15.0257, 11.8314, 56.7388)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2959C9 #C99929
analogous
#29A9C9 #2959C9 #4929C9
triadic
#2959C9 #C92959 #59C929
tetradic
#2959C9 #C929A9 #C99929 #29C949
square
#2959C9 #C929A9 #C99929 #29C949
split-complementary
#2959C9 #C94929 #A9C929
monochromatic
#142C63 #1F4296 #2959C9 #537CDC #86A3E6

Accessibility & contrast

On white

6.24
#2959C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#2959C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2959C9
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2959C9#FFFFFF#000000##FFFFFF
##2959C91.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CD
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#007588
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2959c9;
/* rgb */ color: rgb(41, 89, 201);
/* oklch */ color: oklch(50.0% 0.182 263.6);
Tailwind
colors: {
  custom: {
    50: '#7c87da',
    500: '#2959c9',
    950: '#000000',
  },
}
SCSS
$custom: #2959c9;
$custom-light: #7c87da;
$custom-dark: #000000;
JSON
{
  "hex": "#2959c9",
  "rgb": {
    "r": 41,
    "g": 89,
    "b": 201
  },
  "hsl": {
    "h": 222,
    "s": 66.116,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49982,
    "c": 0.1823,
    "h": 263.6
  },
  "luminance": 0.11833
}

Semantic roles & 50–950 ramp

primary
#2959C9
secondary
#D0B77E
accent
#B63FE9
background
#F8F8FD
surface
#EFEFFB
border
#CACAD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2959C9

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

Preview Lab → · Contrast checker → · Palette generator →

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