#2957BB#2957BB

#2957BB is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.5% C 0.166 H 263.1°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#2957BB
RGBrgb(41, 87, 187)
HSLhsl(221, 64%, 45%)
HSVhsv(221, 78%, 73%)
CMYKcmyk(78.1%, 53.5%, 0%, 26.7%)
CIE-LABlab(39.37, 20.86, -57.18)
CIE-LCHlch(39.37, 60.86, 290.04°)
OKLaboklab(48.46% -0.02 -0.1648)
OKLCHoklch(48.46% 0.166 263.1)
XYZxyz(13.2891, 10.8741, 48.4026)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2957BB #BB8D29
analogous
#29A0BB #2957BB #4429BB
triadic
#2957BB #BB2957 #57BB29
tetradic
#2957BB #BB29A0 #BB8D29 #29BB44
square
#2957BB #BB29A0 #BB8D29 #29BB44
split-complementary
#2957BB #BB4429 #A0BB29
monochromatic
#132857 #1E4089 #2957BB #4A76D7 #7C9CE2

Accessibility & contrast

On white

6.61
#2957BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2957BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2957BB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2957BB#FFFFFF#000000##FFFFFF
##2957BB1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0664BF
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2957bb;
/* rgb */ color: rgb(41, 87, 187);
/* oklch */ color: oklch(48.5% 0.166 263.1);
Tailwind
colors: {
  custom: {
    50: '#7985d0',
    500: '#2957bb',
    950: '#000000',
  },
}
SCSS
$custom: #2957bb;
$custom-light: #7985d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2957bb",
  "rgb": {
    "r": 41,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 221.096,
    "s": 64.035,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4846,
    "c": 0.16601,
    "h": 263.1
  },
  "luminance": 0.10876
}

Semantic roles & 50–950 ramp

primary
#2957BB
secondary
#CBB075
accent
#B341E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2957BB

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

Preview Lab → · Contrast checker → · Palette generator →

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