#2957B6#2957B6

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

Color values

HEX#2957B6
RGBrgb(41, 87, 182)
HSLhsl(220, 63%, 44%)
HSVhsv(220, 77%, 71%)
CMYKcmyk(77.5%, 52.2%, 0%, 28.6%)
CIE-LABlab(39.01, 18.94, -54.83)
CIE-LCHlch(39.01, 58.01, 289.05°)
OKLaboklab(48.07% -0.0206 -0.1579)
OKLCHoklch(48.07% 0.159 262.6)
XYZxyz(12.7631, 10.6637, 45.6325)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2957B6 #B68829
analogous
#299DB6 #2957B6 #4229B6
triadic
#2957B6 #B62957 #57B629
tetradic
#2957B6 #B6299D #B68829 #29B642
square
#2957B6 #B6299D #B68829 #29B642
split-complementary
#2957B6 #B64229 #9DB629
monochromatic
#122752 #1E3F84 #2957B6 #4775D5 #799BE1

Accessibility & contrast

On white

6.70
#2957B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2957B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2957B6
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2957B6#FFFFFF#000000##FFFFFF
##2957B61.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1663B9
Deuteranopia (green-blind)
#0056B4
Tritanopia (blue-blind)
#006E7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2957b6;
/* rgb */ color: rgb(41, 87, 182);
/* oklch */ color: oklch(48.1% 0.159 262.6);
Tailwind
colors: {
  custom: {
    50: '#7885cd',
    500: '#2957b6',
    950: '#000000',
  },
}
SCSS
$custom: #2957b6;
$custom-light: #7885cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2957b6",
  "rgb": {
    "r": 41,
    "g": 87,
    "b": 182
  },
  "hsl": {
    "h": 220.426,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48073,
    "c": 0.15921,
    "h": 262.6
  },
  "luminance": 0.10665
}

Semantic roles & 50–950 ramp

primary
#2957B6
secondary
#C9AC72
accent
#B142E6
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2957B6

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

Preview Lab → · Contrast checker → · Palette generator →

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