#2959AD#2959AD

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

Color values

HEX#2959AD
RGBrgb(41, 89, 173)
HSLhsl(218, 62%, 42%)
HSVhsv(218, 76%, 68%)
CMYKcmyk(76.3%, 48.6%, 0%, 32.2%)
CIE-LABlab(38.95, 14.15, -49.61)
CIE-LCHlch(38.95, 51.59, 285.92°)
OKLaboklab(47.83% -0.0234 -0.1425)
OKLCHoklch(47.83% 0.144 260.7)
XYZxyz(12.0269, 10.6319, 40.9454)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2959AD #AD7D29
analogous
#299BAD #2959AD #3B29AD
triadic
#2959AD #AD2959 #59AD29
tetradic
#2959AD #AD299B #AD7D29 #29AD3B
square
#2959AD #AD299B #AD7D29 #29AD3B
split-complementary
#2959AD #AD3B29 #9BAD29
monochromatic
#12264A #1D407C #2959AD #4176D2 #739ADE

Accessibility & contrast

On white

6.72
#2959AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2959AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2959AD
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2959AD#FFFFFF#000000##FFFFFF
##2959AD1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2959ad;
/* rgb */ color: rgb(41, 89, 173);
/* oklch */ color: oklch(47.8% 0.144 260.7);
Tailwind
colors: {
  custom: {
    50: '#7687c6',
    500: '#2959ad',
    950: '#000000',
  },
}
SCSS
$custom: #2959ad;
$custom-light: #7687c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2959ad",
  "rgb": {
    "r": 41,
    "g": 89,
    "b": 173
  },
  "hsl": {
    "h": 218.182,
    "s": 61.682,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47834,
    "c": 0.14439,
    "h": 260.7
  },
  "luminance": 0.10633
}

Semantic roles & 50–950 ramp

primary
#2959AD
secondary
#C5A56D
accent
#AA43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2959AD

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

Preview Lab → · Contrast checker → · Palette generator →

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