#2957BD#2957BD

#2957BD is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.6% C 0.169 H 263.2°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#2957BD
RGBrgb(41, 87, 189)
HSLhsl(221, 64%, 45%)
HSVhsv(221, 78%, 74%)
CMYKcmyk(78.3%, 54%, 0%, 25.9%)
CIE-LABlab(39.51, 21.62, -58.11)
CIE-LCHlch(39.51, 62.00, 290.41°)
OKLaboklab(48.62% -0.0199 -0.1675)
OKLCHoklch(48.62% 0.169 263.2)
XYZxyz(13.5047, 10.9604, 49.5381)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2957BD #BD8F29
analogous
#29A1BD #2957BD #4529BD
triadic
#2957BD #BD2957 #57BD29
tetradic
#2957BD #BD29A1 #BD8F29 #29BD45
square
#2957BD #BD29A1 #BD8F29 #29BD45
split-complementary
#2957BD #BD4529 #A1BD29
monochromatic
#132958 #1E408B #2957BD #4B77D8 #7D9DE3

Accessibility & contrast

On white

6.58
#2957BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2957BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2957BD
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2957BD#FFFFFF#000000##FFFFFF
##2957BD1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2957bd;
/* rgb */ color: rgb(41, 87, 189);
/* oklch */ color: oklch(48.6% 0.169 263.2);
Tailwind
colors: {
  custom: {
    50: '#7a85d2',
    500: '#2957bd',
    950: '#000000',
  },
}
SCSS
$custom: #2957bd;
$custom-light: #7a85d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2957bd",
  "rgb": {
    "r": 41,
    "g": 87,
    "b": 189
  },
  "hsl": {
    "h": 221.351,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48617,
    "c": 0.16871,
    "h": 263.2
  },
  "luminance": 0.10962
}

Semantic roles & 50–950 ramp

primary
#2957BD
secondary
#CBB177
accent
#B340E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2957BD

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

Preview Lab → · Contrast checker → · Palette generator →

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