#2958B9#2958B9

#2958B9 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.5% C 0.162 H 262.6°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#2958B9
RGBrgb(41, 88, 185)
HSLhsl(220, 64%, 44%)
HSVhsv(220, 78%, 73%)
CMYKcmyk(77.8%, 52.4%, 0%, 27.5%)
CIE-LABlab(39.50, 19.43, -55.79)
CIE-LCHlch(39.50, 59.08, 289.20°)
OKLaboklab(48.52% -0.021 -0.1607)
OKLCHoklch(48.52% 0.162 262.6)
XYZxyz(13.1580, 10.9521, 47.3100)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2958B9 #B98A29
analogous
#29A0B9 #2958B9 #4229B9
triadic
#2958B9 #B92958 #58B929
tetradic
#2958B9 #B929A0 #B98A29 #29B942
square
#2958B9 #B929A0 #B98A29 #29B942
split-complementary
#2958B9 #B94229 #A0B929
monochromatic
#132855 #1E4087 #2958B9 #4977D7 #7B9CE2

Accessibility & contrast

On white

6.58
#2958B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2958B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2958B9
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2958B9#FFFFFF#000000##FFFFFF
##2958B91.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1364BC
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2958b9;
/* rgb */ color: rgb(41, 88, 185);
/* oklch */ color: oklch(48.5% 0.162 262.6);
Tailwind
colors: {
  custom: {
    50: '#7986cf',
    500: '#2958b9',
    950: '#000000',
  },
}
SCSS
$custom: #2958b9;
$custom-light: #7986cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2958b9",
  "rgb": {
    "r": 41,
    "g": 88,
    "b": 185
  },
  "hsl": {
    "h": 220.417,
    "s": 63.717,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48515,
    "c": 0.16207,
    "h": 262.6
  },
  "luminance": 0.10954
}

Semantic roles & 50–950 ramp

primary
#2958B9
secondary
#CAAE74
accent
#B141E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #2958B9

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

Preview Lab → · Contrast checker → · Palette generator →

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