#2958B6#2958B6

#2958B6 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.3% C 0.158 H 262.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#2958B6
RGBrgb(41, 88, 182)
HSLhsl(220, 63%, 44%)
HSVhsv(220, 77%, 71%)
CMYKcmyk(77.5%, 51.6%, 0%, 28.6%)
CIE-LABlab(39.29, 18.28, -54.38)
CIE-LCHlch(39.29, 57.37, 288.58°)
OKLaboklab(48.29% -0.0213 -0.1565)
OKLCHoklch(48.29% 0.158 262.2)
XYZxyz(12.8446, 10.8268, 45.6597)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2958B6 #B68729
analogous
#299EB6 #2958B6 #4029B6
triadic
#2958B6 #B62958 #58B629
tetradic
#2958B6 #B6299E #B68729 #29B640
square
#2958B6 #B6299E #B68729 #29B640
split-complementary
#2958B6 #B64029 #9EB629
monochromatic
#122852 #1E4084 #2958B6 #4776D5 #799BE1

Accessibility & contrast

On white

6.63
#2958B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2958B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2958B6
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2958B6#FFFFFF#000000##FFFFFF
##2958B61.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A63B9
Deuteranopia (green-blind)
#0056B4
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2958b6;
/* rgb */ color: rgb(41, 88, 182);
/* oklch */ color: oklch(48.3% 0.158 262.2);
Tailwind
colors: {
  custom: {
    50: '#7886cd',
    500: '#2958b6',
    950: '#000000',
  },
}
SCSS
$custom: #2958b6;
$custom-light: #7886cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2958b6",
  "rgb": {
    "r": 41,
    "g": 88,
    "b": 182
  },
  "hsl": {
    "h": 220,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48286,
    "c": 0.15799,
    "h": 262.2
  },
  "luminance": 0.10828
}

Semantic roles & 50–950 ramp

primary
#2958B6
secondary
#C9AC72
accent
#AF42E6
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2958B6

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

Preview Lab → · Contrast checker → · Palette generator →

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