#2957BA#2957BA

#2957BA is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.4% C 0.165 H 263.0°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#2957BA
RGBrgb(41, 87, 186)
HSLhsl(221, 64%, 45%)
HSVhsv(221, 78%, 73%)
CMYKcmyk(78%, 53.2%, 0%, 27.1%)
CIE-LABlab(39.30, 20.47, -56.71)
CIE-LCHlch(39.30, 60.29, 289.85°)
OKLaboklab(48.38% -0.0201 -0.1634)
OKLCHoklch(48.38% 0.165 263)
XYZxyz(13.1824, 10.8315, 47.8408)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2957BA #BA8C29
analogous
#299FBA #2957BA #4429BA
triadic
#2957BA #BA2957 #57BA29
tetradic
#2957BA #BA299F #BA8C29 #29BA44
square
#2957BA #BA299F #BA8C29 #29BA44
split-complementary
#2957BA #BA4429 #9FBA29
monochromatic
#132856 #1E4088 #2957BA #4976D7 #7B9CE2

Accessibility & contrast

On white

6.63
#2957BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2957BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2957BA
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2957BA#FFFFFF#000000##FFFFFF
##2957BA1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A64BD
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2957ba;
/* rgb */ color: rgb(41, 87, 186);
/* oklch */ color: oklch(48.4% 0.165 263.0);
Tailwind
colors: {
  custom: {
    50: '#7985cf',
    500: '#2957ba',
    950: '#000000',
  },
}
SCSS
$custom: #2957ba;
$custom-light: #7985cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2957ba",
  "rgb": {
    "r": 41,
    "g": 87,
    "b": 186
  },
  "hsl": {
    "h": 220.966,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48382,
    "c": 0.16466,
    "h": 263
  },
  "luminance": 0.10833
}

Semantic roles & 50–950 ramp

primary
#2957BA
secondary
#CAAF75
accent
#B241E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2957BA

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

Preview Lab → · Contrast checker → · Palette generator →

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