#2958AB#2958AB

#2958AB is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.5% C 0.143 H 260.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#2958AB
RGBrgb(41, 88, 171)
HSLhsl(218, 61%, 42%)
HSVhsv(218, 76%, 67%)
CMYKcmyk(76%, 48.5%, 0%, 32.9%)
CIE-LABlab(38.53, 14.04, -49.10)
CIE-LCHlch(38.53, 51.07, 285.95°)
OKLaboklab(47.47% -0.0228 -0.141)
OKLCHoklch(47.47% 0.143 260.8)
XYZxyz(11.7522, 10.3898, 39.9062)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2958AB #AB7C29
analogous
#2999AB #2958AB #3B29AB
triadic
#2958AB #AB2958 #58AB29
tetradic
#2958AB #AB2999 #AB7C29 #29AB3B
square
#2958AB #AB2999 #AB7C29 #29AB3B
split-complementary
#2958AB #AB3B29 #99AB29
monochromatic
#112548 #1D3F7A #2958AB #4074D1 #7198DD

Accessibility & contrast

On white

6.82
#2958AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2958AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2958AB
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2958AB#FFFFFF#000000##FFFFFF
##2958AB1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A61AE
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#006C79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2958ab;
/* rgb */ color: rgb(41, 88, 171);
/* oklch */ color: oklch(47.5% 0.143 260.8);
Tailwind
colors: {
  custom: {
    50: '#7586c4',
    500: '#2958ab',
    950: '#000000',
  },
}
SCSS
$custom: #2958ab;
$custom-light: #7586c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2958ab",
  "rgb": {
    "r": 41,
    "g": 88,
    "b": 171
  },
  "hsl": {
    "h": 218.308,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47469,
    "c": 0.14285,
    "h": 260.8
  },
  "luminance": 0.10391
}

Semantic roles & 50–950 ramp

primary
#2958AB
secondary
#C4A46C
accent
#AA43E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2958AB

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

Preview Lab → · Contrast checker → · Palette generator →

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