#2959AE#2959AE

#2959AE is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.9% C 0.146 H 260.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#2959AE
RGBrgb(41, 89, 174)
HSLhsl(218, 62%, 42%)
HSVhsv(218, 76%, 68%)
CMYKcmyk(76.4%, 48.9%, 0%, 31.8%)
CIE-LABlab(39.02, 14.54, -50.10)
CIE-LCHlch(39.02, 52.16, 286.18°)
OKLaboklab(47.91% -0.0232 -0.1439)
OKLCHoklch(47.91% 0.146 260.8)
XYZxyz(12.1241, 10.6708, 41.4569)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2959AE #AE7E29
analogous
#299BAE #2959AE #3C29AE
triadic
#2959AE #AE2959 #59AE29
tetradic
#2959AE #AE299B #AE7E29 #29AE3C
square
#2959AE #AE299B #AE7E29 #29AE3C
split-complementary
#2959AE #AE3C29 #9BAE29
monochromatic
#12264B #1D407C #2959AE #4276D2 #739ADE

Accessibility & contrast

On white

6.70
#2959AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2959AE
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2959AE#FFFFFF#000000##FFFFFF
##2959AE1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2962B1
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#006D7B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2959ae;
/* rgb */ color: rgb(41, 89, 174);
/* oklch */ color: oklch(47.9% 0.146 260.8);
Tailwind
colors: {
  custom: {
    50: '#7687c7',
    500: '#2959ae',
    950: '#000000',
  },
}
SCSS
$custom: #2959ae;
$custom-light: #7687c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2959ae",
  "rgb": {
    "r": 41,
    "g": 89,
    "b": 174
  },
  "hsl": {
    "h": 218.346,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47907,
    "c": 0.14578,
    "h": 260.8
  },
  "luminance": 0.10672
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2959AE

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

Preview Lab → · Contrast checker → · Palette generator →

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