#2958AD#2958AD

#2958AD is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.6% C 0.146 H 261.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#2958AD
RGBrgb(41, 88, 173)
HSLhsl(219, 62%, 42%)
HSVhsv(219, 76%, 68%)
CMYKcmyk(76.3%, 49.1%, 0%, 32.2%)
CIE-LABlab(38.67, 14.81, -50.07)
CIE-LCHlch(38.67, 52.22, 286.48°)
OKLaboklab(47.61% -0.0225 -0.1439)
OKLCHoklch(47.61% 0.146 261.1)
XYZxyz(11.9443, 10.4666, 40.9178)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2958AD #AD7E29
analogous
#299AAD #2958AD #3C29AD
triadic
#2958AD #AD2958 #58AD29
tetradic
#2958AD #AD299A #AD7E29 #29AD3C
square
#2958AD #AD299A #AD7E29 #29AD3C
split-complementary
#2958AD #AD3C29 #9AAD29
monochromatic
#12264A #1D3F7C #2958AD #4175D2 #7399DE

Accessibility & contrast

On white

6.79
#2958AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2958AD
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2958AD#FFFFFF#000000##FFFFFF
##2958AD1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2761B0
Deuteranopia (green-blind)
#0055AB
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2958ad;
/* rgb */ color: rgb(41, 88, 173);
/* oklch */ color: oklch(47.6% 0.146 261.1);
Tailwind
colors: {
  custom: {
    50: '#7686c6',
    500: '#2958ad',
    950: '#000000',
  },
}
SCSS
$custom: #2958ad;
$custom-light: #7686c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2958ad",
  "rgb": {
    "r": 41,
    "g": 88,
    "b": 173
  },
  "hsl": {
    "h": 218.636,
    "s": 61.682,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47614,
    "c": 0.14562,
    "h": 261.1
  },
  "luminance": 0.10468
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2958AD

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

Preview Lab → · Contrast checker → · Palette generator →

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