#2957B3#2957B3

#2957B3 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.8% C 0.155 H 262.3°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#2957B3
RGBrgb(41, 87, 179)
HSLhsl(220, 63%, 43%)
HSVhsv(220, 77%, 70%)
CMYKcmyk(77.1%, 51.4%, 0%, 29.8%)
CIE-LABlab(38.80, 17.78, -53.41)
CIE-LCHlch(38.80, 56.29, 288.41°)
OKLaboklab(47.85% -0.0209 -0.1537)
OKLCHoklch(47.85% 0.155 262.3)
XYZxyz(12.4564, 10.5411, 44.0172)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2957B3 #B38529
analogous
#299CB3 #2957B3 #4029B3
triadic
#2957B3 #B32957 #57B329
tetradic
#2957B3 #B3299C #B38529 #29B340
square
#2957B3 #B3299C #B38529 #29B340
split-complementary
#2957B3 #B34029 #9CB329
monochromatic
#12274F #1E3F81 #2957B3 #4575D4 #779AE0

Accessibility & contrast

On white

6.76
#2957B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2957B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2957B3
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2957B3#FFFFFF#000000##FFFFFF
##2957B31.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C62B6
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2957b3;
/* rgb */ color: rgb(41, 87, 179);
/* oklch */ color: oklch(47.8% 0.155 262.3);
Tailwind
colors: {
  custom: {
    50: '#7785ca',
    500: '#2957b3',
    950: '#000000',
  },
}
SCSS
$custom: #2957b3;
$custom-light: #7785ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2957b3",
  "rgb": {
    "r": 41,
    "g": 87,
    "b": 179
  },
  "hsl": {
    "h": 220,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47845,
    "c": 0.15512,
    "h": 262.3
  },
  "luminance": 0.10542
}

Semantic roles & 50–950 ramp

primary
#2957B3
secondary
#C7AA70
accent
#AF42E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2957B3

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

Preview Lab → · Contrast checker → · Palette generator →

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