#2947AD#2947AD

#2947AD is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.1% C 0.167 H 266.8°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#2947AD
RGBrgb(41, 71, 173)
HSLhsl(226, 62%, 42%)
HSVhsv(226, 76%, 68%)
CMYKcmyk(76.3%, 59%, 0%, 32.2%)
CIE-LABlab(33.97, 26.10, -57.69)
CIE-LCHlch(33.97, 63.31, 294.34°)
OKLaboklab(44.06% -0.0094 -0.1665)
OKLCHoklch(44.06% 0.167 266.8)
XYZxyz(10.7079, 7.9938, 40.5057)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2947AD #AD8F29
analogous
#2989AD #2947AD #4D29AD
triadic
#2947AD #AD2947 #47AD29
tetradic
#2947AD #AD2989 #AD8F29 #29AD4D
square
#2947AD #AD2989 #AD8F29 #29AD4D
split-complementary
#2947AD #AD4D29 #89AD29
monochromatic
#121E4A #1D337C #2947AD #4162D2 #738BDE

Accessibility & contrast

On white

8.08
#2947AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2947AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2947AD
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2947AD#FFFFFF#000000##FFFFFF
##2947AD1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#004AAB
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2947ad;
/* rgb */ color: rgb(41, 71, 173);
/* oklch */ color: oklch(44.1% 0.167 266.8);
Tailwind
colors: {
  custom: {
    50: '#7779c6',
    500: '#2947ad',
    950: '#000000',
  },
}
SCSS
$custom: #2947ad;
$custom-light: #7779c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2947ad",
  "rgb": {
    "r": 41,
    "g": 71,
    "b": 173
  },
  "hsl": {
    "h": 226.364,
    "s": 61.682,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44057,
    "c": 0.16682,
    "h": 266.8
  },
  "luminance": 0.07995
}

Semantic roles & 50–950 ramp

primary
#2947AD
secondary
#C5B16D
accent
#C043E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2947AD

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

Preview Lab → · Contrast checker → · Palette generator →

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