#2958A2#2958A2

#2958A2 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 46.8% C 0.130 H 259.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2958A2
RGBrgb(41, 88, 162)
HSLhsl(217, 60%, 40%)
HSVhsv(217, 75%, 64%)
CMYKcmyk(74.7%, 45.7%, 0%, 36.5%)
CIE-LABlab(37.95, 10.57, -44.69)
CIE-LCHlch(37.95, 45.93, 283.30°)
OKLaboklab(46.83% -0.0243 -0.128)
OKLCHoklch(46.83% 0.13 259.2)
XYZxyz(10.9234, 10.0583, 35.5412)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2958A2 #A27329
analogous
#2995A2 #2958A2 #3629A2
triadic
#2958A2 #A22958 #58A229
tetradic
#2958A2 #A22995 #A27329 #29A236
square
#2958A2 #A22995 #A27329 #29A236
split-complementary
#2958A2 #A23629 #95A229
monochromatic
#102340 #1D3D71 #2958A2 #3B74CD #6C96DA

Accessibility & contrast

On white

6.97
#2958A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2958A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2958A2
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2958A2#FFFFFF#000000##FFFFFF
##2958A21.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325FA5
Deuteranopia (green-blind)
#1954A1
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2958a2;
/* rgb */ color: rgb(41, 88, 162);
/* oklch */ color: oklch(46.8% 0.130 259.2);
Tailwind
colors: {
  custom: {
    50: '#7386be',
    500: '#2958a2',
    950: '#000000',
  },
}
SCSS
$custom: #2958a2;
$custom-light: #7386be;
$custom-dark: #000000;
JSON
{
  "hex": "#2958a2",
  "rgb": {
    "r": 41,
    "g": 88,
    "b": 162
  },
  "hsl": {
    "h": 216.694,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46829,
    "c": 0.13034,
    "h": 259.2
  },
  "luminance": 0.10059
}

Semantic roles & 50–950 ramp

primary
#2958A2
secondary
#C09D67
accent
#A545E3
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2958A2

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

Preview Lab → · Contrast checker → · Palette generator →

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