#2957B9#2957B9

#2957B9 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.3% C 0.163 H 262.9°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#2957B9
RGBrgb(41, 87, 185)
HSLhsl(221, 64%, 44%)
HSVhsv(221, 78%, 73%)
CMYKcmyk(77.8%, 53%, 0%, 27.5%)
CIE-LABlab(39.22, 20.09, -56.24)
CIE-LCHlch(39.22, 59.72, 289.66°)
OKLaboklab(48.31% -0.0202 -0.162)
OKLCHoklch(48.31% 0.163 262.9)
XYZxyz(13.0765, 10.7891, 47.2829)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2957B9 #B98B29
analogous
#299FB9 #2957B9 #4329B9
triadic
#2957B9 #B92957 #57B929
tetradic
#2957B9 #B9299F #B98B29 #29B943
square
#2957B9 #B9299F #B98B29 #29B943
split-complementary
#2957B9 #B94329 #9FB929
monochromatic
#132855 #1E3F87 #2957B9 #4976D7 #7B9CE2

Accessibility & contrast

On white

6.65
#2957B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2957B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2957B9
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2957B9#FFFFFF#000000##FFFFFF
##2957B91.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E63BC
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2957b9;
/* rgb */ color: rgb(41, 87, 185);
/* oklch */ color: oklch(48.3% 0.163 262.9);
Tailwind
colors: {
  custom: {
    50: '#7985cf',
    500: '#2957b9',
    950: '#000000',
  },
}
SCSS
$custom: #2957b9;
$custom-light: #7985cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2957b9",
  "rgb": {
    "r": 41,
    "g": 87,
    "b": 185
  },
  "hsl": {
    "h": 220.833,
    "s": 63.717,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48305,
    "c": 0.1633,
    "h": 262.9
  },
  "luminance": 0.10791
}

Semantic roles & 50–950 ramp

primary
#2957B9
secondary
#CAAE74
accent
#B241E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #2957B9

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

Preview Lab → · Contrast checker → · Palette generator →

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