#2957A2#2957A2

#2957A2 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.6% C 0.132 H 259.7°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2957A2
RGBrgb(41, 87, 162)
HSLhsl(217, 60%, 40%)
HSVhsv(217, 75%, 64%)
CMYKcmyk(74.7%, 46.3%, 0%, 36.5%)
CIE-LABlab(37.65, 11.22, -45.16)
CIE-LCHlch(37.65, 46.54, 283.96°)
OKLaboklab(46.6% -0.0234 -0.1294)
OKLCHoklch(46.6% 0.132 259.7)
XYZxyz(10.8419, 9.8952, 35.5140)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2957A2 #A27429
analogous
#2994A2 #2957A2 #3729A2
triadic
#2957A2 #A22957 #57A229
tetradic
#2957A2 #A22994 #A27429 #29A237
square
#2957A2 #A22994 #A27429 #29A237
split-complementary
#2957A2 #A23729 #94A229
monochromatic
#102340 #1D3D71 #2957A2 #3B73CD #6C96DA

Accessibility & contrast

On white

7.05
#2957A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2957A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2957A2
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2957A2#FFFFFF#000000##FFFFFF
##2957A21.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305FA5
Deuteranopia (green-blind)
#1653A0
Tritanopia (blue-blind)
#006974
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2957a2;
/* rgb */ color: rgb(41, 87, 162);
/* oklch */ color: oklch(46.6% 0.132 259.7);
Tailwind
colors: {
  custom: {
    50: '#7385be',
    500: '#2957a2',
    950: '#000000',
  },
}
SCSS
$custom: #2957a2;
$custom-light: #7385be;
$custom-dark: #000000;
JSON
{
  "hex": "#2957a2",
  "rgb": {
    "r": 41,
    "g": 87,
    "b": 162
  },
  "hsl": {
    "h": 217.19,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46603,
    "c": 0.13156,
    "h": 259.7
  },
  "luminance": 0.09896
}

Semantic roles & 50–950 ramp

primary
#2957A2
secondary
#C09E67
accent
#A745E3
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2957A2

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

Preview Lab → · Contrast checker → · Palette generator →

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