#2951AD#2951AD

#2951AD is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.1% C 0.154 H 263.7°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#2951AD
RGBrgb(41, 81, 173)
HSLhsl(222, 62%, 42%)
HSVhsv(222, 76%, 68%)
CMYKcmyk(76.3%, 53.2%, 0%, 32.2%)
CIE-LABlab(36.69, 19.44, -53.27)
CIE-LCHlch(36.69, 56.70, 290.05°)
OKLaboklab(46.11% -0.0169 -0.1534)
OKLCHoklch(46.11% 0.154 263.7)
XYZxyz(11.3970, 9.3721, 40.7354)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2951AD #AD8529
analogous
#2993AD #2951AD #4329AD
triadic
#2951AD #AD2951 #51AD29
tetradic
#2951AD #AD2993 #AD8529 #29AD43
square
#2951AD #AD2993 #AD8529 #29AD43
split-complementary
#2951AD #AD4329 #93AD29
monochromatic
#12234A #1D3A7C #2951AD #416DD2 #7393DE

Accessibility & contrast

On white

7.31
#2951AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##2951AD#FFFFFF#000000##FFFFFF
##2951AD1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5DB0
Deuteranopia (green-blind)
#0051AB
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2951ad;
/* rgb */ color: rgb(41, 81, 173);
/* oklch */ color: oklch(46.1% 0.154 263.7);
Tailwind
colors: {
  custom: {
    50: '#7681c6',
    500: '#2951ad',
    950: '#000000',
  },
}
SCSS
$custom: #2951ad;
$custom-light: #7681c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2951ad",
  "rgb": {
    "r": 41,
    "g": 81,
    "b": 173
  },
  "hsl": {
    "h": 221.818,
    "s": 61.682,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46107,
    "c": 0.15431,
    "h": 263.7
  },
  "luminance": 0.09373
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2951AD

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

Preview Lab → · Contrast checker → · Palette generator →

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