#2959AB#2959AB

#2959AB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.7% C 0.142 H 260.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#2959AB
RGBrgb(41, 89, 171)
HSLhsl(218, 61%, 42%)
HSVhsv(218, 76%, 67%)
CMYKcmyk(76%, 48%, 0%, 32.9%)
CIE-LABlab(38.82, 13.38, -48.64)
CIE-LCHlch(38.82, 50.45, 285.38°)
OKLaboklab(47.69% -0.0237 -0.1396)
OKLCHoklch(47.69% 0.142 260.4)
XYZxyz(11.8349, 10.5551, 39.9338)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2959AB #AB7B29
analogous
#299AAB #2959AB #3A29AB
triadic
#2959AB #AB2959 #59AB29
tetradic
#2959AB #AB299A #AB7B29 #29AB3A
square
#2959AB #AB299A #AB7B29 #29AB3A
split-complementary
#2959AB #AB3A29 #9AAB29
monochromatic
#112648 #1D3F7A #2959AB #4076D1 #7199DD

Accessibility & contrast

On white

6.75
#2959AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2959AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2959AB
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2959AB#FFFFFF#000000##FFFFFF
##2959AB1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C62AE
Deuteranopia (green-blind)
#0456A9
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2959ab;
/* rgb */ color: rgb(41, 89, 171);
/* oklch */ color: oklch(47.7% 0.142 260.4);
Tailwind
colors: {
  custom: {
    50: '#7587c4',
    500: '#2959ab',
    950: '#000000',
  },
}
SCSS
$custom: #2959ab;
$custom-light: #7587c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2959ab",
  "rgb": {
    "r": 41,
    "g": 89,
    "b": 171
  },
  "hsl": {
    "h": 217.846,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47689,
    "c": 0.14163,
    "h": 260.4
  },
  "luminance": 0.10556
}

Semantic roles & 50–950 ramp

primary
#2959AB
secondary
#C4A36C
accent
#A943E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2959AB

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

Preview Lab → · Contrast checker → · Palette generator →

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