#2958B2#2958B2

#2958B2 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.0% C 0.153 H 261.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#2958B2
RGBrgb(41, 88, 178)
HSLhsl(219, 63%, 43%)
HSVhsv(219, 77%, 70%)
CMYKcmyk(77%, 50.6%, 0%, 30.2%)
CIE-LABlab(39.01, 16.74, -52.47)
CIE-LCHlch(39.01, 55.08, 287.69°)
OKLaboklab(47.98% -0.0218 -0.1509)
OKLCHoklch(47.98% 0.153 261.8)
XYZxyz(12.4372, 10.6638, 43.5137)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2958B2 #B28329
analogous
#299CB2 #2958B2 #3E29B2
triadic
#2958B2 #B22958 #58B229
tetradic
#2958B2 #B2299C #B28329 #29B23E
square
#2958B2 #B2299C #B28329 #29B23E
split-complementary
#2958B2 #B23E29 #9CB229
monochromatic
#12274F #1E3F80 #2958B2 #4476D4 #769ADF

Accessibility & contrast

On white

6.70
#2958B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2958B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2958B2
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2958B2#FFFFFF#000000##FFFFFF
##2958B21.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2162B5
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2958b2;
/* rgb */ color: rgb(41, 88, 178);
/* oklch */ color: oklch(48.0% 0.153 261.8);
Tailwind
colors: {
  custom: {
    50: '#7786ca',
    500: '#2958b2',
    950: '#000000',
  },
}
SCSS
$custom: #2958b2;
$custom-light: #7786ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2958b2",
  "rgb": {
    "r": 41,
    "g": 88,
    "b": 178
  },
  "hsl": {
    "h": 219.416,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47984,
    "c": 0.15251,
    "h": 261.8
  },
  "luminance": 0.10665
}

Semantic roles & 50–950 ramp

primary
#2958B2
secondary
#C7A970
accent
#AE42E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2958B2

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

Preview Lab → · Contrast checker → · Palette generator →

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