#2947AB#2947AB

#2947AB is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.164 H 266.7°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#2947AB
RGBrgb(41, 71, 171)
HSLhsl(226, 61%, 42%)
HSVhsv(226, 76%, 67%)
CMYKcmyk(76%, 58.5%, 0%, 32.9%)
CIE-LABlab(33.81, 25.34, -56.75)
CIE-LCHlch(33.81, 62.15, 294.06°)
OKLaboklab(43.89% -0.0095 -0.1638)
OKLCHoklch(43.89% 0.164 266.7)
XYZxyz(10.5158, 7.9170, 39.4941)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2947AB #AB8D29
analogous
#2988AB #2947AB #4C29AB
triadic
#2947AB #AB2947 #47AB29
tetradic
#2947AB #AB2988 #AB8D29 #29AB4C
square
#2947AB #AB2988 #AB8D29 #29AB4C
split-complementary
#2947AB #AB4C29 #88AB29
monochromatic
#111E48 #1D337A #2947AB #4062D1 #718ADD

Accessibility & contrast

On white

8.13
#2947AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2947AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2947AB
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2947AB#FFFFFF#000000##FFFFFF
##2947AB1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2947ab;
/* rgb */ color: rgb(41, 71, 171);
/* oklch */ color: oklch(43.9% 0.164 266.7);
Tailwind
colors: {
  custom: {
    50: '#7679c5',
    500: '#2947ab',
    950: '#000000',
  },
}
SCSS
$custom: #2947ab;
$custom-light: #7679c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2947ab",
  "rgb": {
    "r": 41,
    "g": 71,
    "b": 171
  },
  "hsl": {
    "h": 226.154,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43887,
    "c": 0.16409,
    "h": 266.7
  },
  "luminance": 0.07918
}

Semantic roles & 50–950 ramp

primary
#2947AB
secondary
#C4B06C
accent
#BF43E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2947AB

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

Preview Lab → · Contrast checker → · Palette generator →

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