#2958BA#2958BA

#2958BA is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.6% C 0.163 H 262.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#2958BA
RGBrgb(41, 88, 186)
HSLhsl(221, 64%, 45%)
HSVhsv(221, 78%, 73%)
CMYKcmyk(78%, 52.7%, 0%, 27.1%)
CIE-LABlab(39.57, 19.82, -56.26)
CIE-LCHlch(39.57, 59.65, 289.40°)
OKLaboklab(48.59% -0.0209 -0.1621)
OKLCHoklch(48.59% 0.163 262.7)
XYZxyz(13.2639, 10.9945, 47.8679)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2958BA #BA8B29
analogous
#29A1BA #2958BA #4329BA
triadic
#2958BA #BA2958 #58BA29
tetradic
#2958BA #BA29A1 #BA8B29 #29BA43
square
#2958BA #BA29A1 #BA8B29 #29BA43
split-complementary
#2958BA #BA4329 #A1BA29
monochromatic
#132956 #1E4088 #2958BA #4977D7 #7B9DE2

Accessibility & contrast

On white

6.56
#2958BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2958BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2958BA
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2958BA#FFFFFF#000000##FFFFFF
##2958BA1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1164BD
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2958ba;
/* rgb */ color: rgb(41, 88, 186);
/* oklch */ color: oklch(48.6% 0.163 262.7);
Tailwind
colors: {
  custom: {
    50: '#7986cf',
    500: '#2958ba',
    950: '#000000',
  },
}
SCSS
$custom: #2958ba;
$custom-light: #7986cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2958ba",
  "rgb": {
    "r": 41,
    "g": 88,
    "b": 186
  },
  "hsl": {
    "h": 220.552,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48592,
    "c": 0.16342,
    "h": 262.7
  },
  "luminance": 0.10996
}

Semantic roles & 50–950 ramp

primary
#2958BA
secondary
#CAAE75
accent
#B141E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2958BA

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

Preview Lab → · Contrast checker → · Palette generator →

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