#2958A3#2958A3

#2958A3 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 46.9% C 0.132 H 259.4°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#2958A3
RGBrgb(41, 88, 163)
HSLhsl(217, 60%, 40%)
HSVhsv(217, 75%, 64%)
CMYKcmyk(74.8%, 46%, 0%, 36.1%)
CIE-LABlab(38.01, 10.95, -45.19)
CIE-LCHlch(38.01, 46.50, 283.62°)
OKLaboklab(46.9% -0.0242 -0.1295)
OKLCHoklch(46.9% 0.132 259.4)
XYZxyz(11.0126, 10.0940, 36.0112)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2958A3 #A37429
analogous
#2995A3 #2958A3 #3729A3
triadic
#2958A3 #A32958 #58A329
tetradic
#2958A3 #A32995 #A37429 #29A337
square
#2958A3 #A32995 #A37429 #29A337
split-complementary
#2958A3 #A33729 #95A329
monochromatic
#102341 #1D3E72 #2958A3 #3B74CE #6C97DA

Accessibility & contrast

On white

6.96
#2958A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2958A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2958A3
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2958A3#FFFFFF#000000##FFFFFF
##2958A31.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315FA6
Deuteranopia (green-blind)
#1754A1
Tritanopia (blue-blind)
#006A75
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2958a3;
/* rgb */ color: rgb(41, 88, 163);
/* oklch */ color: oklch(46.9% 0.132 259.4);
Tailwind
colors: {
  custom: {
    50: '#7486bf',
    500: '#2958a3',
    950: '#000000',
  },
}
SCSS
$custom: #2958a3;
$custom-light: #7486bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2958a3",
  "rgb": {
    "r": 41,
    "g": 88,
    "b": 163
  },
  "hsl": {
    "h": 216.885,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.46899,
    "c": 0.13174,
    "h": 259.4
  },
  "luminance": 0.10095
}

Semantic roles & 50–950 ramp

primary
#2958A3
secondary
#C19E67
accent
#A645E3
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2958A3

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

Preview Lab → · Contrast checker → · Palette generator →

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