#2958AA#2958AA

#2958AA is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.4% C 0.141 H 260.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2958AA
RGBrgb(41, 88, 170)
HSLhsl(218, 61%, 41%)
HSVhsv(218, 76%, 67%)
CMYKcmyk(75.9%, 48.2%, 0%, 33.3%)
CIE-LABlab(38.47, 13.65, -48.62)
CIE-LCHlch(38.47, 50.50, 285.68°)
OKLaboklab(47.4% -0.023 -0.1396)
OKLCHoklch(47.4% 0.141 260.7)
XYZxyz(11.6573, 10.3518, 39.4061)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2958AA #AA7B29
analogous
#2999AA #2958AA #3B29AA
triadic
#2958AA #AA2958 #58AA29
tetradic
#2958AA #AA2999 #AA7B29 #29AA3B
square
#2958AA #AA2999 #AA7B29 #29AA3B
split-complementary
#2958AA #AA3B29 #99AA29
monochromatic
#112547 #1D3E79 #2958AA #3F74D1 #7198DD

Accessibility & contrast

On white

6.84
#2958AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2958AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2958AA#FFFFFF#000000##FFFFFF
##2958AA1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B61AD
Deuteranopia (green-blind)
#0255A8
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2958aa;
/* rgb */ color: rgb(41, 88, 170);
/* oklch */ color: oklch(47.4% 0.141 260.7);
Tailwind
colors: {
  custom: {
    50: '#7586c4',
    500: '#2958aa',
    950: '#000000',
  },
}
SCSS
$custom: #2958aa;
$custom-light: #7586c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2958aa",
  "rgb": {
    "r": 41,
    "g": 88,
    "b": 170
  },
  "hsl": {
    "h": 218.14,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47396,
    "c": 0.14147,
    "h": 260.7
  },
  "luminance": 0.10353
}

Semantic roles & 50–950 ramp

primary
#2958AA
secondary
#C4A36B
accent
#AA44E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2958AA

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

Preview Lab → · Contrast checker → · Palette generator →

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