#2957AB#2957AB

#2957AB is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.2% C 0.144 H 261.2°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2957AB
RGBrgb(41, 87, 171)
HSLhsl(219, 61%, 42%)
HSVhsv(219, 76%, 67%)
CMYKcmyk(76%, 49.1%, 0%, 32.9%)
CIE-LABlab(38.25, 14.70, -49.57)
CIE-LCHlch(38.25, 51.70, 286.51°)
OKLaboklab(47.25% -0.022 -0.1424)
OKLCHoklch(47.25% 0.144 261.2)
XYZxyz(11.6707, 10.2268, 39.8791)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2957AB #AB7D29
analogous
#2998AB #2957AB #3C29AB
triadic
#2957AB #AB2957 #57AB29
tetradic
#2957AB #AB2998 #AB7D29 #29AB3C
square
#2957AB #AB2998 #AB7D29 #29AB3C
split-complementary
#2957AB #AB3C29 #98AB29
monochromatic
#112548 #1D3E7A #2957AB #4073D1 #7197DD

Accessibility & contrast

On white

6.90
#2957AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2957AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2957AB
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2957AB#FFFFFF#000000##FFFFFF
##2957AB1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2760AE
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2957ab;
/* rgb */ color: rgb(41, 87, 171);
/* oklch */ color: oklch(47.2% 0.144 261.2);
Tailwind
colors: {
  custom: {
    50: '#7585c5',
    500: '#2957ab',
    950: '#000000',
  },
}
SCSS
$custom: #2957ab;
$custom-light: #7585c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2957ab",
  "rgb": {
    "r": 41,
    "g": 87,
    "b": 171
  },
  "hsl": {
    "h": 218.769,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47249,
    "c": 0.14409,
    "h": 261.2
  },
  "luminance": 0.10228
}

Semantic roles & 50–950 ramp

primary
#2957AB
secondary
#C4A56C
accent
#AB43E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2957AB

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

Preview Lab → · Contrast checker → · Palette generator →

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