#2951AC#2951AC

#2951AC is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.0% C 0.153 H 263.6°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2951AC
RGBrgb(41, 81, 172)
HSLhsl(222, 62%, 42%)
HSVhsv(222, 76%, 67%)
CMYKcmyk(76.2%, 52.9%, 0%, 32.5%)
CIE-LABlab(36.62, 19.06, -52.79)
CIE-LCHlch(36.62, 56.12, 289.85°)
OKLaboklab(46.03% -0.017 -0.152)
OKLCHoklch(46.03% 0.153 263.6)
XYZxyz(11.3006, 9.3336, 40.2277)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2951AC #AC8429
analogous
#2993AC #2951AC #4229AC
triadic
#2951AC #AC2951 #51AC29
tetradic
#2951AC #AC2993 #AC8429 #29AC42
square
#2951AC #AC2993 #AC8429 #29AC42
split-complementary
#2951AC #AC4229 #93AC29
monochromatic
#112249 #1D3A7B #2951AC #416DD2 #7293DD

Accessibility & contrast

On white

7.32
#2951AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2951AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2951AC
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2951AC#FFFFFF#000000##FFFFFF
##2951AC1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115CAF
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2951ac;
/* rgb */ color: rgb(41, 81, 172);
/* oklch */ color: oklch(46.0% 0.153 263.6);
Tailwind
colors: {
  custom: {
    50: '#7681c5',
    500: '#2951ac',
    950: '#000000',
  },
}
SCSS
$custom: #2951ac;
$custom-light: #7681c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2951ac",
  "rgb": {
    "r": 41,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 221.679,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46029,
    "c": 0.15293,
    "h": 263.6
  },
  "luminance": 0.09335
}

Semantic roles & 50–950 ramp

primary
#2951AC
secondary
#C5AA6C
accent
#B343E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2951AC

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

Preview Lab → · Contrast checker → · Palette generator →

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