#2957AC#2957AC

#2957AC is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.3% C 0.145 H 261.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2957AC
RGBrgb(41, 87, 172)
HSLhsl(219, 62%, 42%)
HSVhsv(219, 76%, 67%)
CMYKcmyk(76.2%, 49.4%, 0%, 32.5%)
CIE-LABlab(38.31, 15.08, -50.05)
CIE-LCHlch(38.31, 52.27, 286.77°)
OKLaboklab(47.32% -0.0218 -0.1438)
OKLCHoklch(47.32% 0.145 261.4)
XYZxyz(11.7664, 10.2650, 40.3830)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2957AC #AC7E29
analogous
#2999AC #2957AC #3D29AC
triadic
#2957AC #AC2957 #57AC29
tetradic
#2957AC #AC2999 #AC7E29 #29AC3D
square
#2957AC #AC2999 #AC7E29 #29AC3D
split-complementary
#2957AC #AC3D29 #99AC29
monochromatic
#112549 #1D3E7B #2957AC #4174D2 #7298DD

Accessibility & contrast

On white

6.88
#2957AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2957AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2957AC
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2957AC#FFFFFF#000000##FFFFFF
##2957AC1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2661AF
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2957ac;
/* rgb */ color: rgb(41, 87, 172);
/* oklch */ color: oklch(47.3% 0.145 261.4);
Tailwind
colors: {
  custom: {
    50: '#7685c5',
    500: '#2957ac',
    950: '#000000',
  },
}
SCSS
$custom: #2957ac;
$custom-light: #7685c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2957ac",
  "rgb": {
    "r": 41,
    "g": 87,
    "b": 172
  },
  "hsl": {
    "h": 218.931,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47322,
    "c": 0.14547,
    "h": 261.4
  },
  "luminance": 0.10266
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2957AC

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

Preview Lab → · Contrast checker → · Palette generator →

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