#2957B7#2957B7

#2957B7 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.1% C 0.161 H 262.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#2957B7
RGBrgb(41, 87, 183)
HSLhsl(221, 63%, 44%)
HSVhsv(221, 78%, 72%)
CMYKcmyk(77.6%, 52.5%, 0%, 28.2%)
CIE-LABlab(39.08, 19.32, -55.30)
CIE-LCHlch(39.08, 58.58, 289.26°)
OKLaboklab(48.15% -0.0204 -0.1593)
OKLCHoklch(48.15% 0.161 262.7)
XYZxyz(12.8668, 10.7052, 46.1788)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2957B7 #B78929
analogous
#299EB7 #2957B7 #4229B7
triadic
#2957B7 #B72957 #57B729
tetradic
#2957B7 #B7299E #B78929 #29B742
square
#2957B7 #B7299E #B78929 #29B742
split-complementary
#2957B7 #B74229 #9EB729
monochromatic
#132753 #1E3F85 #2957B7 #4776D6 #799BE1

Accessibility & contrast

On white

6.68
#2957B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2957B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2957B7
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2957B7#FFFFFF#000000##FFFFFF
##2957B71.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1363BA
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#006E7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2957b7;
/* rgb */ color: rgb(41, 87, 183);
/* oklch */ color: oklch(48.1% 0.161 262.7);
Tailwind
colors: {
  custom: {
    50: '#7885cd',
    500: '#2957b7',
    950: '#000000',
  },
}
SCSS
$custom: #2957b7;
$custom-light: #7885cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2957b7",
  "rgb": {
    "r": 41,
    "g": 87,
    "b": 183
  },
  "hsl": {
    "h": 220.563,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4815,
    "c": 0.16058,
    "h": 262.7
  },
  "luminance": 0.10707
}

Semantic roles & 50–950 ramp

primary
#2957B7
secondary
#C9AD73
accent
#B141E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #2957B7

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

Preview Lab → · Contrast checker → · Palette generator →

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