#2958B1#2958B1

#2958B1 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.9% C 0.151 H 261.6°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#2958B1
RGBrgb(41, 88, 177)
HSLhsl(219, 62%, 43%)
HSVhsv(219, 77%, 69%)
CMYKcmyk(76.8%, 50.3%, 0%, 30.6%)
CIE-LABlab(38.94, 16.35, -52.00)
CIE-LCHlch(38.94, 54.51, 287.46°)
OKLaboklab(47.91% -0.022 -0.1495)
OKLCHoklch(47.91% 0.151 261.6)
XYZxyz(12.3371, 10.6238, 42.9868)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2958B1 #B18229
analogous
#299CB1 #2958B1 #3E29B1
triadic
#2958B1 #B12958 #58B129
tetradic
#2958B1 #B1299C #B18229 #29B13E
square
#2958B1 #B1299C #B18229 #29B13E
split-complementary
#2958B1 #B13E29 #9CB129
monochromatic
#12274E #1D3F7F #2958B1 #4475D4 #759ADF

Accessibility & contrast

On white

6.72
#2958B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2958B1
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2958B1#FFFFFF#000000##FFFFFF
##2958B11.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2262B4
Deuteranopia (green-blind)
#0056AF
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2958b1;
/* rgb */ color: rgb(41, 88, 177);
/* oklch */ color: oklch(47.9% 0.151 261.6);
Tailwind
colors: {
  custom: {
    50: '#7786c9',
    500: '#2958b1',
    950: '#000000',
  },
}
SCSS
$custom: #2958b1;
$custom-light: #7786c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2958b1",
  "rgb": {
    "r": 41,
    "g": 88,
    "b": 177
  },
  "hsl": {
    "h": 219.265,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4791,
    "c": 0.15113,
    "h": 261.6
  },
  "luminance": 0.10625
}

Semantic roles & 50–950 ramp

primary
#2958B1
secondary
#C7A86F
accent
#AD42E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2958B1

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

Preview Lab → · Contrast checker → · Palette generator →

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