#2957AE#2957AE

#2957AE is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.5% C 0.148 H 261.6°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2957AE
RGBrgb(41, 87, 174)
HSLhsl(219, 62%, 42%)
HSVhsv(219, 76%, 68%)
CMYKcmyk(76.4%, 50%, 0%, 31.8%)
CIE-LABlab(38.45, 15.85, -51.01)
CIE-LCHlch(38.45, 53.42, 287.26°)
OKLaboklab(47.47% -0.0216 -0.1467)
OKLCHoklch(47.47% 0.148 261.6)
XYZxyz(11.9599, 10.3424, 41.4022)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2957AE #AE8029
analogous
#299AAE #2957AE #3E29AE
triadic
#2957AE #AE2957 #57AE29
tetradic
#2957AE #AE299A #AE8029 #29AE3E
square
#2957AE #AE299A #AE8029 #29AE3E
split-complementary
#2957AE #AE3E29 #9AAE29
monochromatic
#12254B #1D3E7C #2957AE #4274D2 #7398DE

Accessibility & contrast

On white

6.84
#2957AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2957AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2957AE
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2957AE#FFFFFF#000000##FFFFFF
##2957AE1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2361B1
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2957ae;
/* rgb */ color: rgb(41, 87, 174);
/* oklch */ color: oklch(47.5% 0.148 261.6);
Tailwind
colors: {
  custom: {
    50: '#7685c7',
    500: '#2957ae',
    950: '#000000',
  },
}
SCSS
$custom: #2957ae;
$custom-light: #7685c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2957ae",
  "rgb": {
    "r": 41,
    "g": 87,
    "b": 174
  },
  "hsl": {
    "h": 219.248,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4747,
    "c": 0.14824,
    "h": 261.6
  },
  "luminance": 0.10344
}

Semantic roles & 50–950 ramp

primary
#2957AE
secondary
#C5A76D
accent
#AD43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2957AE

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

Preview Lab → · Contrast checker → · Palette generator →

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