#2958BB#2958BB

#2958BB is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.7% C 0.165 H 262.8°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#2958BB
RGBrgb(41, 88, 187)
HSLhsl(221, 64%, 45%)
HSVhsv(221, 78%, 73%)
CMYKcmyk(78.1%, 52.9%, 0%, 26.7%)
CIE-LABlab(39.64, 20.20, -56.73)
CIE-LCHlch(39.64, 60.22, 289.60°)
OKLaboklab(48.67% -0.0208 -0.1635)
OKLCHoklch(48.67% 0.165 262.8)
XYZxyz(13.3706, 11.0372, 48.4298)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2958BB #BB8C29
analogous
#29A1BB #2958BB #4329BB
triadic
#2958BB #BB2958 #58BB29
tetradic
#2958BB #BB29A1 #BB8C29 #29BB43
square
#2958BB #BB29A1 #BB8C29 #29BB43
split-complementary
#2958BB #BB4329 #A1BB29
monochromatic
#132957 #1E4089 #2958BB #4A77D7 #7C9DE2

Accessibility & contrast

On white

6.55
#2958BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2958BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2958BB
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2958BB#FFFFFF#000000##FFFFFF
##2958BB1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E64BF
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2958bb;
/* rgb */ color: rgb(41, 88, 187);
/* oklch */ color: oklch(48.7% 0.165 262.8);
Tailwind
colors: {
  custom: {
    50: '#7986d0',
    500: '#2958bb',
    950: '#000000',
  },
}
SCSS
$custom: #2958bb;
$custom-light: #7986d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2958bb",
  "rgb": {
    "r": 41,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 220.685,
    "s": 64.035,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48669,
    "c": 0.16478,
    "h": 262.8
  },
  "luminance": 0.11039
}

Semantic roles & 50–950 ramp

primary
#2958BB
secondary
#CBAF75
accent
#B241E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2958BB

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

Preview Lab → · Contrast checker → · Palette generator →

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