#2957A3#2957A3

#2957A3 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.7% C 0.133 H 259.9°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#2957A3
RGBrgb(41, 87, 163)
HSLhsl(217, 60%, 40%)
HSVhsv(217, 75%, 64%)
CMYKcmyk(74.8%, 46.6%, 0%, 36.1%)
CIE-LABlab(37.72, 11.61, -45.66)
CIE-LCHlch(37.72, 47.11, 284.27°)
OKLaboklab(46.67% -0.0233 -0.1309)
OKLCHoklch(46.67% 0.133 259.9)
XYZxyz(10.9311, 9.9309, 35.9840)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2957A3 #A37529
analogous
#2994A3 #2957A3 #3829A3
triadic
#2957A3 #A32957 #57A329
tetradic
#2957A3 #A32994 #A37529 #29A338
square
#2957A3 #A32994 #A37529 #29A338
split-complementary
#2957A3 #A33829 #94A329
monochromatic
#102341 #1D3D72 #2957A3 #3B73CE #6C96DA

Accessibility & contrast

On white

7.03
#2957A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2957A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2957A3
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2957A3#FFFFFF#000000##FFFFFF
##2957A31.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5FA6
Deuteranopia (green-blind)
#1354A1
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2957a3;
/* rgb */ color: rgb(41, 87, 163);
/* oklch */ color: oklch(46.7% 0.133 259.9);
Tailwind
colors: {
  custom: {
    50: '#7485bf',
    500: '#2957a3',
    950: '#000000',
  },
}
SCSS
$custom: #2957a3;
$custom-light: #7485bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2957a3",
  "rgb": {
    "r": 41,
    "g": 87,
    "b": 163
  },
  "hsl": {
    "h": 217.377,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.46674,
    "c": 0.13295,
    "h": 259.9
  },
  "luminance": 0.09932
}

Semantic roles & 50–950 ramp

primary
#2957A3
secondary
#C19F67
accent
#A745E3
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2957A3

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

Preview Lab → · Contrast checker → · Palette generator →

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