#2951AE#2951AE

#2951AE is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.2% C 0.156 H 263.8°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2951AE
RGBrgb(41, 81, 174)
HSLhsl(222, 62%, 42%)
HSVhsv(222, 76%, 68%)
CMYKcmyk(76.4%, 53.4%, 0%, 31.8%)
CIE-LABlab(36.76, 19.83, -53.74)
CIE-LCHlch(36.76, 57.28, 290.25°)
OKLaboklab(46.19% -0.0168 -0.1548)
OKLCHoklch(46.19% 0.156 263.8)
XYZxyz(11.4941, 9.4110, 41.2469)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2951AE #AE8629
analogous
#2993AE #2951AE #4429AE
triadic
#2951AE #AE2951 #51AE29
tetradic
#2951AE #AE2993 #AE8629 #29AE44
square
#2951AE #AE2993 #AE8629 #29AE44
split-complementary
#2951AE #AE4429 #93AE29
monochromatic
#12234B #1D3A7C #2951AE #426DD2 #7393DE

Accessibility & contrast

On white

7.29
#2951AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2951AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2951AE
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2951AE#FFFFFF#000000##FFFFFF
##2951AE1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5DB1
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2951ae;
/* rgb */ color: rgb(41, 81, 174);
/* oklch */ color: oklch(46.2% 0.156 263.8);
Tailwind
colors: {
  custom: {
    50: '#7681c7',
    500: '#2951ae',
    950: '#000000',
  },
}
SCSS
$custom: #2951ae;
$custom-light: #7681c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2951ae",
  "rgb": {
    "r": 41,
    "g": 81,
    "b": 174
  },
  "hsl": {
    "h": 221.955,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46186,
    "c": 0.1557,
    "h": 263.8
  },
  "luminance": 0.09412
}

Semantic roles & 50–950 ramp

primary
#2951AE
secondary
#C5AB6D
accent
#B443E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2951AE

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

Preview Lab → · Contrast checker → · Palette generator →

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