#2957AF#2957AF

#2957AF is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.5% C 0.150 H 261.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#2957AF
RGBrgb(41, 87, 175)
HSLhsl(219, 62%, 42%)
HSVhsv(219, 77%, 69%)
CMYKcmyk(76.6%, 50.3%, 0%, 31.4%)
CIE-LABlab(38.52, 16.24, -51.49)
CIE-LCHlch(38.52, 53.99, 287.50°)
OKLaboklab(47.54% -0.0214 -0.1481)
OKLCHoklch(47.54% 0.15 261.8)
XYZxyz(12.0577, 10.3816, 41.9175)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2957AF #AF8129
analogous
#299AAF #2957AF #3E29AF
triadic
#2957AF #AF2957 #57AF29
tetradic
#2957AF #AF299A #AF8129 #29AF3E
square
#2957AF #AF299A #AF8129 #29AF3E
split-complementary
#2957AF #AF3E29 #9AAF29
monochromatic
#12264C #1D3E7D #2957AF #4274D3 #7499DE

Accessibility & contrast

On white

6.83
#2957AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2957AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2957AF
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2957AF#FFFFFF#000000##FFFFFF
##2957AF1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2261B2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2957af;
/* rgb */ color: rgb(41, 87, 175);
/* oklch */ color: oklch(47.5% 0.150 261.8);
Tailwind
colors: {
  custom: {
    50: '#7685c7',
    500: '#2957af',
    950: '#000000',
  },
}
SCSS
$custom: #2957af;
$custom-light: #7685c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2957af",
  "rgb": {
    "r": 41,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 219.403,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47544,
    "c": 0.14961,
    "h": 261.8
  },
  "luminance": 0.10383
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2957AF

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

Preview Lab → · Contrast checker → · Palette generator →

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