#2957A6#2957A6

#2957A6 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.9% C 0.137 H 260.4°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#2957A6
RGBrgb(41, 87, 166)
HSLhsl(218, 60%, 41%)
HSVhsv(218, 75%, 65%)
CMYKcmyk(75.3%, 47.6%, 0%, 34.9%)
CIE-LABlab(37.91, 12.77, -47.13)
CIE-LCHlch(37.91, 48.83, 285.16°)
OKLaboklab(46.89% -0.0228 -0.1352)
OKLCHoklch(46.89% 0.137 260.4)
XYZxyz(11.2031, 10.0397, 37.4164)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2957A6 #A67829
analogous
#2995A6 #2957A6 #3A29A6
triadic
#2957A6 #A62957 #57A629
tetradic
#2957A6 #A62995 #A67829 #29A63A
square
#2957A6 #A62995 #A67829 #29A63A
split-complementary
#2957A6 #A63A29 #95A629
monochromatic
#112444 #1D3D75 #2957A6 #3D73CF #6E96DB

Accessibility & contrast

On white

6.98
#2957A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2957A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2957A6
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2957A6#FFFFFF#000000##FFFFFF
##2957A61.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5FA9
Deuteranopia (green-blind)
#0B54A4
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2957a6;
/* rgb */ color: rgb(41, 87, 166);
/* oklch */ color: oklch(46.9% 0.137 260.4);
Tailwind
colors: {
  custom: {
    50: '#7485c1',
    500: '#2957a6',
    950: '#000000',
  },
}
SCSS
$custom: #2957a6;
$custom-light: #7485c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2957a6",
  "rgb": {
    "r": 41,
    "g": 87,
    "b": 166
  },
  "hsl": {
    "h": 217.92,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46887,
    "c": 0.13713,
    "h": 260.4
  },
  "luminance": 0.10041
}

Semantic roles & 50–950 ramp

primary
#2957A6
secondary
#C2A169
accent
#A944E4
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2957A6

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

Preview Lab → · Contrast checker → · Palette generator →

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