#2958AF#2958AF

#2958AF is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.8% C 0.148 H 261.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#2958AF
RGBrgb(41, 88, 175)
HSLhsl(219, 62%, 42%)
HSVhsv(219, 77%, 69%)
CMYKcmyk(76.6%, 49.7%, 0%, 31.4%)
CIE-LABlab(38.80, 15.58, -51.04)
CIE-LCHlch(38.80, 53.36, 286.98°)
OKLaboklab(47.76% -0.0222 -0.1467)
OKLCHoklch(47.76% 0.148 261.4)
XYZxyz(12.1393, 10.5446, 41.9447)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2958AF #AF8029
analogous
#299BAF #2958AF #3D29AF
triadic
#2958AF #AF2958 #58AF29
tetradic
#2958AF #AF299B #AF8029 #29AF3D
square
#2958AF #AF299B #AF8029 #29AF3D
split-complementary
#2958AF #AF3D29 #9BAF29
monochromatic
#12264C #1D3F7D #2958AF #4275D3 #7499DE

Accessibility & contrast

On white

6.75
#2958AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2958AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2958AF#FFFFFF#000000##FFFFFF
##2958AF1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2562B2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#006D7B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2958af;
/* rgb */ color: rgb(41, 88, 175);
/* oklch */ color: oklch(47.8% 0.148 261.4);
Tailwind
colors: {
  custom: {
    50: '#7686c7',
    500: '#2958af',
    950: '#000000',
  },
}
SCSS
$custom: #2958af;
$custom-light: #7686c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2958af",
  "rgb": {
    "r": 41,
    "g": 88,
    "b": 175
  },
  "hsl": {
    "h": 218.955,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47761,
    "c": 0.14839,
    "h": 261.4
  },
  "luminance": 0.10546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2958AF

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

Preview Lab → · Contrast checker → · Palette generator →

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