#2959AC#2959AC

#2959AC is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.8% C 0.143 H 260.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#2959AC
RGBrgb(41, 89, 172)
HSLhsl(218, 62%, 42%)
HSVhsv(218, 76%, 67%)
CMYKcmyk(76.2%, 48.3%, 0%, 32.5%)
CIE-LABlab(38.89, 13.77, -49.13)
CIE-LCHlch(38.89, 51.02, 285.65°)
OKLaboklab(47.76% -0.0235 -0.1411)
OKLCHoklch(47.76% 0.143 260.5)
XYZxyz(11.9305, 10.5934, 40.4377)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2959AC #AC7C29
analogous
#299BAC #2959AC #3B29AC
triadic
#2959AC #AC2959 #59AC29
tetradic
#2959AC #AC299B #AC7C29 #29AC3B
square
#2959AC #AC299B #AC7C29 #29AC3B
split-complementary
#2959AC #AC3B29 #9BAC29
monochromatic
#112649 #1D3F7B #2959AC #4176D2 #7299DD

Accessibility & contrast

On white

6.73
#2959AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2959AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2959AC
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2959AC#FFFFFF#000000##FFFFFF
##2959AC1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B62AF
Deuteranopia (green-blind)
#0056AA
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2959ac;
/* rgb */ color: rgb(41, 89, 172);
/* oklch */ color: oklch(47.8% 0.143 260.5);
Tailwind
colors: {
  custom: {
    50: '#7687c5',
    500: '#2959ac',
    950: '#000000',
  },
}
SCSS
$custom: #2959ac;
$custom-light: #7687c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2959ac",
  "rgb": {
    "r": 41,
    "g": 89,
    "b": 172
  },
  "hsl": {
    "h": 218.015,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47762,
    "c": 0.14302,
    "h": 260.5
  },
  "luminance": 0.10595
}

Semantic roles & 50–950 ramp

primary
#2959AC
secondary
#C5A46C
accent
#A943E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2959AC

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

Preview Lab → · Contrast checker → · Palette generator →

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