#2958A5#2958A5

#2958A5 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.0% C 0.135 H 259.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2958A5
RGBrgb(41, 88, 165)
HSLhsl(217, 60%, 40%)
HSVhsv(217, 75%, 65%)
CMYKcmyk(75.2%, 46.7%, 0%, 35.3%)
CIE-LABlab(38.14, 11.72, -46.17)
CIE-LCHlch(38.14, 47.64, 284.24°)
OKLaboklab(47.04% -0.0238 -0.1324)
OKLCHoklch(47.04% 0.135 259.8)
XYZxyz(11.1932, 10.1662, 36.9624)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2958A5 #A57629
analogous
#2996A5 #2958A5 #3829A5
triadic
#2958A5 #A52958 #58A529
tetradic
#2958A5 #A52996 #A57629 #29A538
square
#2958A5 #A52996 #A57629 #29A538
split-complementary
#2958A5 #A53829 #96A529
monochromatic
#112443 #1D3E74 #2958A5 #3D74CF #6E97DB

Accessibility & contrast

On white

6.92
#2958A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2958A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2958A5
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2958A5#FFFFFF#000000##FFFFFF
##2958A51.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3060A8
Deuteranopia (green-blind)
#1354A3
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2958a5;
/* rgb */ color: rgb(41, 88, 165);
/* oklch */ color: oklch(47.0% 0.135 259.8);
Tailwind
colors: {
  custom: {
    50: '#7486c0',
    500: '#2958a5',
    950: '#000000',
  },
}
SCSS
$custom: #2958a5;
$custom-light: #7486c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2958a5",
  "rgb": {
    "r": 41,
    "g": 88,
    "b": 165
  },
  "hsl": {
    "h": 217.258,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47039,
    "c": 0.13452,
    "h": 259.8
  },
  "luminance": 0.10167
}

Semantic roles & 50–950 ramp

primary
#2958A5
secondary
#C2A068
accent
#A744E3
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2958A5

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

Preview Lab → · Contrast checker → · Palette generator →

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