#2957AD#2957AD

#2957AD is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.4% C 0.147 H 261.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#2957AD
RGBrgb(41, 87, 173)
HSLhsl(219, 62%, 42%)
HSVhsv(219, 76%, 68%)
CMYKcmyk(76.3%, 49.7%, 0%, 32.2%)
CIE-LABlab(38.38, 15.47, -50.53)
CIE-LCHlch(38.38, 52.85, 287.02°)
OKLaboklab(47.4% -0.0217 -0.1452)
OKLCHoklch(47.4% 0.147 261.5)
XYZxyz(11.8628, 10.3036, 40.8906)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2957AD #AD7F29
analogous
#2999AD #2957AD #3D29AD
triadic
#2957AD #AD2957 #57AD29
tetradic
#2957AD #AD2999 #AD7F29 #29AD3D
square
#2957AD #AD2999 #AD7F29 #29AD3D
split-complementary
#2957AD #AD3D29 #99AD29
monochromatic
#12254A #1D3E7C #2957AD #4174D2 #7398DE

Accessibility & contrast

On white

6.86
#2957AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2957AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2957AD
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2957AD#FFFFFF#000000##FFFFFF
##2957AD1.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)
#2561B0
Deuteranopia (green-blind)
#0055AB
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2957ad;
/* rgb */ color: rgb(41, 87, 173);
/* oklch */ color: oklch(47.4% 0.147 261.5);
Tailwind
colors: {
  custom: {
    50: '#7685c6',
    500: '#2957ad',
    950: '#000000',
  },
}
SCSS
$custom: #2957ad;
$custom-light: #7685c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2957ad",
  "rgb": {
    "r": 41,
    "g": 87,
    "b": 173
  },
  "hsl": {
    "h": 219.091,
    "s": 61.682,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47396,
    "c": 0.14685,
    "h": 261.5
  },
  "luminance": 0.10305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2957AD

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

Preview Lab → · Contrast checker → · Palette generator →

#2957AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva