#2958A9#2958A9

#2958A9 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.3% C 0.140 H 260.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#2958A9
RGBrgb(41, 88, 169)
HSLhsl(218, 61%, 41%)
HSVhsv(218, 76%, 66%)
CMYKcmyk(75.7%, 47.9%, 0%, 33.7%)
CIE-LABlab(38.40, 13.27, -48.13)
CIE-LCHlch(38.40, 49.93, 285.41°)
OKLaboklab(47.32% -0.0231 -0.1382)
OKLCHoklch(47.32% 0.14 260.5)
XYZxyz(11.5630, 10.3141, 38.9098)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2958A9 #A97A29
analogous
#2998A9 #2958A9 #3A29A9
triadic
#2958A9 #A92958 #58A929
tetradic
#2958A9 #A92998 #A97A29 #29A93A
square
#2958A9 #A92998 #A97A29 #29A93A
split-complementary
#2958A9 #A93A29 #98A929
monochromatic
#112546 #1D3E78 #2958A9 #3F74D0 #7098DC

Accessibility & contrast

On white

6.86
#2958A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2958A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2958A9
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2958A9#FFFFFF#000000##FFFFFF
##2958A91.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C61AC
Deuteranopia (green-blind)
#0655A7
Tritanopia (blue-blind)
#006B78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2958a9;
/* rgb */ color: rgb(41, 88, 169);
/* oklch */ color: oklch(47.3% 0.140 260.5);
Tailwind
colors: {
  custom: {
    50: '#7586c3',
    500: '#2958a9',
    950: '#000000',
  },
}
SCSS
$custom: #2958a9;
$custom-light: #7586c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2958a9",
  "rgb": {
    "r": 41,
    "g": 88,
    "b": 169
  },
  "hsl": {
    "h": 217.969,
    "s": 60.952,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47324,
    "c": 0.14008,
    "h": 260.5
  },
  "luminance": 0.10315
}

Semantic roles & 50–950 ramp

primary
#2958A9
secondary
#C3A36A
accent
#A944E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2958A9

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

Preview Lab → · Contrast checker → · Palette generator →

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