#2958AC#2958AC

#2958AC is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.5% C 0.144 H 261.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#2958AC
RGBrgb(41, 88, 172)
HSLhsl(218, 62%, 42%)
HSVhsv(218, 76%, 67%)
CMYKcmyk(76.2%, 48.8%, 0%, 32.5%)
CIE-LABlab(38.60, 14.42, -49.59)
CIE-LCHlch(38.60, 51.64, 286.22°)
OKLaboklab(47.54% -0.0227 -0.1424)
OKLCHoklch(47.54% 0.144 261)
XYZxyz(11.8479, 10.4281, 40.4101)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2958AC #AC7D29
analogous
#299AAC #2958AC #3C29AC
triadic
#2958AC #AC2958 #58AC29
tetradic
#2958AC #AC299A #AC7D29 #29AC3C
square
#2958AC #AC299A #AC7D29 #29AC3C
split-complementary
#2958AC #AC3C29 #9AAC29
monochromatic
#112549 #1D3F7B #2958AC #4175D2 #7299DD

Accessibility & contrast

On white

6.81
#2958AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2958AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2958AC
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2958AC#FFFFFF#000000##FFFFFF
##2958AC1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2861AF
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2958ac;
/* rgb */ color: rgb(41, 88, 172);
/* oklch */ color: oklch(47.5% 0.144 261.0);
Tailwind
colors: {
  custom: {
    50: '#7686c5',
    500: '#2958ac',
    950: '#000000',
  },
}
SCSS
$custom: #2958ac;
$custom-light: #7686c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2958ac",
  "rgb": {
    "r": 41,
    "g": 88,
    "b": 172
  },
  "hsl": {
    "h": 218.473,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47541,
    "c": 0.14424,
    "h": 261
  },
  "luminance": 0.10429
}

Semantic roles & 50–950 ramp

primary
#2958AC
secondary
#C5A56C
accent
#AB43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2958AC

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

Preview Lab → · Contrast checker → · Palette generator →

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