#2958AE#2958AE

#2958AE is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.7% C 0.147 H 261.2°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#2958AE
RGBrgb(41, 88, 174)
HSLhsl(219, 62%, 42%)
HSVhsv(219, 76%, 68%)
CMYKcmyk(76.4%, 49.4%, 0%, 31.8%)
CIE-LABlab(38.73, 15.20, -50.56)
CIE-LCHlch(38.73, 52.79, 286.73°)
OKLaboklab(47.69% -0.0224 -0.1453)
OKLCHoklch(47.69% 0.147 261.2)
XYZxyz(12.0414, 10.5055, 41.4293)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2958AE #AE7F29
analogous
#299BAE #2958AE #3D29AE
triadic
#2958AE #AE2958 #58AE29
tetradic
#2958AE #AE299B #AE7F29 #29AE3D
square
#2958AE #AE299B #AE7F29 #29AE3D
split-complementary
#2958AE #AE3D29 #9BAE29
monochromatic
#12264B #1D3F7C #2958AE #4275D2 #7399DE

Accessibility & contrast

On white

6.77
#2958AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2958AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2958AE#FFFFFF#000000##FFFFFF
##2958AE1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2662B1
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2958ae;
/* rgb */ color: rgb(41, 88, 174);
/* oklch */ color: oklch(47.7% 0.147 261.2);
Tailwind
colors: {
  custom: {
    50: '#7686c7',
    500: '#2958ae',
    950: '#000000',
  },
}
SCSS
$custom: #2958ae;
$custom-light: #7686c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2958ae",
  "rgb": {
    "r": 41,
    "g": 88,
    "b": 174
  },
  "hsl": {
    "h": 218.797,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47688,
    "c": 0.147,
    "h": 261.2
  },
  "luminance": 0.10507
}

Semantic roles & 50–950 ramp

primary
#2958AE
secondary
#C5A66D
accent
#AC43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2958AE

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

Preview Lab → · Contrast checker → · Palette generator →

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