#2958B7#2958B7

#2958B7 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.4% C 0.159 H 262.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#2958B7
RGBrgb(41, 88, 183)
HSLhsl(220, 63%, 44%)
HSVhsv(220, 78%, 72%)
CMYKcmyk(77.6%, 51.9%, 0%, 28.2%)
CIE-LABlab(39.36, 18.66, -54.85)
CIE-LCHlch(39.36, 57.94, 288.79°)
OKLaboklab(48.36% -0.0212 -0.1579)
OKLCHoklch(48.36% 0.159 262.3)
XYZxyz(12.9484, 10.8683, 46.2059)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2958B7 #B78829
analogous
#299FB7 #2958B7 #4129B7
triadic
#2958B7 #B72958 #58B729
tetradic
#2958B7 #B7299F #B78829 #29B741
square
#2958B7 #B7299F #B78829 #29B741
split-complementary
#2958B7 #B74129 #9FB729
monochromatic
#132853 #1E4085 #2958B7 #4777D6 #799CE1

Accessibility & contrast

On white

6.62
#2958B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2958B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2958B7
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2958B7#FFFFFF#000000##FFFFFF
##2958B71.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1864BA
Deuteranopia (green-blind)
#0057B5
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2958b7;
/* rgb */ color: rgb(41, 88, 183);
/* oklch */ color: oklch(48.4% 0.159 262.3);
Tailwind
colors: {
  custom: {
    50: '#7886cd',
    500: '#2958b7',
    950: '#000000',
  },
}
SCSS
$custom: #2958b7;
$custom-light: #7886cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2958b7",
  "rgb": {
    "r": 41,
    "g": 88,
    "b": 183
  },
  "hsl": {
    "h": 220.141,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48362,
    "c": 0.15935,
    "h": 262.3
  },
  "luminance": 0.1087
}

Semantic roles & 50–950 ramp

primary
#2958B7
secondary
#C9AC73
accent
#B041E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2958B7

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

Preview Lab → · Contrast checker → · Palette generator →

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