#2957B2#2957B2

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

Color values

HEX#2957B2
RGBrgb(41, 87, 178)
HSLhsl(220, 63%, 43%)
HSVhsv(220, 77%, 70%)
CMYKcmyk(77%, 51.1%, 0%, 30.2%)
CIE-LABlab(38.73, 17.40, -52.93)
CIE-LCHlch(38.73, 55.72, 288.19°)
OKLaboklab(47.77% -0.021 -0.1523)
OKLCHoklch(47.77% 0.154 262.1)
XYZxyz(12.3556, 10.5008, 43.4865)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2957B2 #B28429
analogous
#299BB2 #2957B2 #3F29B2
triadic
#2957B2 #B22957 #57B229
tetradic
#2957B2 #B2299B #B28429 #29B23F
square
#2957B2 #B2299B #B28429 #29B23F
split-complementary
#2957B2 #B23F29 #9BB229
monochromatic
#12264F #1E3F80 #2957B2 #4474D4 #7699DF

Accessibility & contrast

On white

6.77
#2957B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2957B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2957B2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2957B2#FFFFFF#000000##FFFFFF
##2957B21.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2957b2;
/* rgb */ color: rgb(41, 87, 178);
/* oklch */ color: oklch(47.8% 0.154 262.1);
Tailwind
colors: {
  custom: {
    50: '#7785ca',
    500: '#2957b2',
    950: '#000000',
  },
}
SCSS
$custom: #2957b2;
$custom-light: #7785ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2957b2",
  "rgb": {
    "r": 41,
    "g": 87,
    "b": 178
  },
  "hsl": {
    "h": 219.854,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47769,
    "c": 0.15375,
    "h": 262.1
  },
  "luminance": 0.10502
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2957B2

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

Preview Lab → · Contrast checker → · Palette generator →

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