#2947A4#2947A4

#2947A4 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.3% C 0.154 H 266.4°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#2947A4
RGBrgb(41, 71, 164)
HSLhsl(225, 60%, 40%)
HSVhsv(225, 75%, 64%)
CMYKcmyk(75%, 56.7%, 0%, 35.7%)
CIE-LABlab(33.26, 22.66, -53.46)
CIE-LCHlch(33.26, 58.07, 292.97°)
OKLaboklab(43.3% -0.0098 -0.1541)
OKLCHoklch(43.3% 0.154 266.4)
XYZxyz(9.8662, 7.6572, 36.0728)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2947A4 #A48629
analogous
#2984A4 #2947A4 #4929A4
triadic
#2947A4 #A42947 #47A429
tetradic
#2947A4 #A42984 #A48629 #29A449
square
#2947A4 #A42984 #A48629 #29A449
split-complementary
#2947A4 #A44929 #84A429
monochromatic
#111D42 #1D3273 #2947A4 #3C60CE #6D88DA

Accessibility & contrast

On white

8.30
#2947A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2947A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2947A4
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2947A4#FFFFFF#000000##FFFFFF
##2947A41.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2947a4;
/* rgb */ color: rgb(41, 71, 164);
/* oklch */ color: oklch(43.3% 0.154 266.4);
Tailwind
colors: {
  custom: {
    50: '#7579c0',
    500: '#2947a4',
    950: '#000000',
  },
}
SCSS
$custom: #2947a4;
$custom-light: #7579c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2947a4",
  "rgb": {
    "r": 41,
    "g": 71,
    "b": 164
  },
  "hsl": {
    "h": 225.366,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43301,
    "c": 0.15445,
    "h": 266.4
  },
  "luminance": 0.07658
}

Semantic roles & 50–950 ramp

primary
#2947A4
secondary
#C1AB68
accent
#BC45E3
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2947A4

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

Preview Lab → · Contrast checker → · Palette generator →

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