#2951AA#2951AA

#2951AA is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.9% C 0.150 H 263.4°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#2951AA
RGBrgb(41, 81, 170)
HSLhsl(221, 61%, 41%)
HSVhsv(221, 76%, 67%)
CMYKcmyk(75.9%, 52.4%, 0%, 33.3%)
CIE-LABlab(36.48, 18.29, -51.83)
CIE-LCHlch(36.48, 54.96, 289.43°)
OKLaboklab(45.88% -0.0172 -0.1492)
OKLCHoklch(45.88% 0.15 263.4)
XYZxyz(11.1100, 9.2573, 39.2237)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2951AA #AA8229
analogous
#2992AA #2951AA #4229AA
triadic
#2951AA #AA2951 #51AA29
tetradic
#2951AA #AA2992 #AA8229 #29AA42
square
#2951AA #AA2992 #AA8229 #29AA42
split-complementary
#2951AA #AA4229 #92AA29
monochromatic
#112247 #1D3A79 #2951AA #3F6CD1 #7192DD

Accessibility & contrast

On white

7.36
#2951AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2951AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2951AA#FFFFFF#000000##FFFFFF
##2951AA1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155CAD
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2951aa;
/* rgb */ color: rgb(41, 81, 170);
/* oklch */ color: oklch(45.9% 0.150 263.4);
Tailwind
colors: {
  custom: {
    50: '#7681c4',
    500: '#2951aa',
    950: '#000000',
  },
}
SCSS
$custom: #2951aa;
$custom-light: #7681c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2951aa",
  "rgb": {
    "r": 41,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 221.395,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45875,
    "c": 0.15017,
    "h": 263.4
  },
  "luminance": 0.09259
}

Semantic roles & 50–950 ramp

primary
#2951AA
secondary
#C4A86B
accent
#B244E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2951AA

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

Preview Lab → · Contrast checker → · Palette generator →

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