#2958BD#2958BD

#2958BD is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.8% C 0.167 H 262.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#2958BD
RGBrgb(41, 88, 189)
HSLhsl(221, 64%, 45%)
HSVhsv(221, 78%, 74%)
CMYKcmyk(78.3%, 53.4%, 0%, 25.9%)
CIE-LABlab(39.79, 20.97, -57.67)
CIE-LCHlch(39.79, 61.36, 289.98°)
OKLaboklab(48.83% -0.0206 -0.1662)
OKLCHoklch(48.83% 0.167 262.9)
XYZxyz(13.5862, 11.1234, 49.5652)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2958BD #BD8E29
analogous
#29A2BD #2958BD #4429BD
triadic
#2958BD #BD2958 #58BD29
tetradic
#2958BD #BD29A2 #BD8E29 #29BD44
square
#2958BD #BD29A2 #BD8E29 #29BD44
split-complementary
#2958BD #BD4429 #A2BD29
monochromatic
#132958 #1E418B #2958BD #4B78D8 #7D9EE3

Accessibility & contrast

On white

6.51
#2958BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2958BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2958BD
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2958BD#FFFFFF#000000##FFFFFF
##2958BD1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0665C1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2958bd;
/* rgb */ color: rgb(41, 88, 189);
/* oklch */ color: oklch(48.8% 0.167 262.9);
Tailwind
colors: {
  custom: {
    50: '#7a86d2',
    500: '#2958bd',
    950: '#000000',
  },
}
SCSS
$custom: #2958bd;
$custom-light: #7a86d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2958bd",
  "rgb": {
    "r": 41,
    "g": 88,
    "b": 189
  },
  "hsl": {
    "h": 220.946,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48825,
    "c": 0.16748,
    "h": 262.9
  },
  "luminance": 0.11125
}

Semantic roles & 50–950 ramp

primary
#2958BD
secondary
#CBB077
accent
#B240E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2958BD

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

Preview Lab → · Contrast checker → · Palette generator →

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