#2947AC#2947AC

#2947AC is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.165 H 266.7°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#2947AC
RGBrgb(41, 71, 172)
HSLhsl(226, 62%, 42%)
HSVhsv(226, 76%, 67%)
CMYKcmyk(76.2%, 58.7%, 0%, 32.5%)
CIE-LABlab(33.89, 25.72, -57.22)
CIE-LCHlch(33.89, 62.73, 294.20°)
OKLaboklab(43.97% -0.0094 -0.1652)
OKLCHoklch(43.97% 0.165 266.7)
XYZxyz(10.6115, 7.9553, 39.9980)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2947AC #AC8E29
analogous
#2988AC #2947AC #4D29AC
triadic
#2947AC #AC2947 #47AC29
tetradic
#2947AC #AC2988 #AC8E29 #29AC4D
square
#2947AC #AC2988 #AC8E29 #29AC4D
split-complementary
#2947AC #AC4D29 #88AC29
monochromatic
#111E49 #1D337B #2947AC #4162D2 #728BDD

Accessibility & contrast

On white

8.10
#2947AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2947AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2947AC
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2947AC#FFFFFF#000000##FFFFFF
##2947AC1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2947ac;
/* rgb */ color: rgb(41, 71, 172);
/* oklch */ color: oklch(44.0% 0.165 266.7);
Tailwind
colors: {
  custom: {
    50: '#7779c6',
    500: '#2947ac',
    950: '#000000',
  },
}
SCSS
$custom: #2947ac;
$custom-light: #7779c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2947ac",
  "rgb": {
    "r": 41,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 226.26,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43972,
    "c": 0.16546,
    "h": 266.7
  },
  "luminance": 0.07956
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2947AC

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

Preview Lab → · Contrast checker → · Palette generator →

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