#2958B8#2958B8

#2958B8 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.4% C 0.161 H 262.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#2958B8
RGBrgb(41, 88, 184)
HSLhsl(220, 64%, 44%)
HSVhsv(220, 78%, 72%)
CMYKcmyk(77.7%, 52.2%, 0%, 27.8%)
CIE-LABlab(39.43, 19.05, -55.32)
CIE-LCHlch(39.43, 58.51, 289.00°)
OKLaboklab(48.44% -0.0211 -0.1593)
OKLCHoklch(48.44% 0.161 262.5)
XYZxyz(13.0528, 10.9101, 46.7560)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2958B8 #B88929
analogous
#29A0B8 #2958B8 #4229B8
triadic
#2958B8 #B82958 #58B829
tetradic
#2958B8 #B829A0 #B88929 #29B842
square
#2958B8 #B829A0 #B88929 #29B842
split-complementary
#2958B8 #B84229 #A0B829
monochromatic
#132854 #1E4086 #2958B8 #4877D6 #7A9CE1

Accessibility & contrast

On white

6.60
#2958B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2958B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2958B8
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2958B8#FFFFFF#000000##FFFFFF
##2958B81.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1664BB
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2958b8;
/* rgb */ color: rgb(41, 88, 184);
/* oklch */ color: oklch(48.4% 0.161 262.5);
Tailwind
colors: {
  custom: {
    50: '#7886ce',
    500: '#2958b8',
    950: '#000000',
  },
}
SCSS
$custom: #2958b8;
$custom-light: #7886ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2958b8",
  "rgb": {
    "r": 41,
    "g": 88,
    "b": 184
  },
  "hsl": {
    "h": 220.28,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48438,
    "c": 0.16071,
    "h": 262.5
  },
  "luminance": 0.10912
}

Semantic roles & 50–950 ramp

primary
#2958B8
secondary
#C9AD73
accent
#B041E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #2958B8

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

Preview Lab → · Contrast checker → · Palette generator →

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