#2947B4#2947B4

#2947B4 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.176 H 267.0°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#2947B4
RGBrgb(41, 71, 180)
HSLhsl(227, 63%, 43%)
HSVhsv(227, 77%, 71%)
CMYKcmyk(77.2%, 60.6%, 0%, 29.4%)
CIE-LABlab(34.54, 28.75, -60.91)
CIE-LCHlch(34.54, 67.35, 295.26°)
OKLaboklab(44.66% -0.0093 -0.176)
OKLCHoklch(44.66% 0.176 267)
XYZxyz(11.4030, 8.2719, 44.1668)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2947B4 #B49629
analogous
#298CB4 #2947B4 #5029B4
triadic
#2947B4 #B42947 #47B429
tetradic
#2947B4 #B4298C #B49629 #29B450
square
#2947B4 #B4298C #B49629 #29B450
split-complementary
#2947B4 #B45029 #8CB429
monochromatic
#122050 #1E3382 #2947B4 #4564D5 #778EE0

Accessibility & contrast

On white

7.91
#2947B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2947B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2947B4
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2947B4#FFFFFF#000000##FFFFFF
##2947B41.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#004BB2
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2947b4;
/* rgb */ color: rgb(41, 71, 180);
/* oklch */ color: oklch(44.7% 0.176 267.0);
Tailwind
colors: {
  custom: {
    50: '#7979cb',
    500: '#2947b4',
    950: '#000000',
  },
}
SCSS
$custom: #2947b4;
$custom-light: #7979cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2947b4",
  "rgb": {
    "r": 41,
    "g": 71,
    "b": 180
  },
  "hsl": {
    "h": 227.05,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44663,
    "c": 0.17625,
    "h": 267
  },
  "luminance": 0.08273
}

Semantic roles & 50–950 ramp

primary
#2947B4
secondary
#C8B571
accent
#C342E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2947B4

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

Preview Lab → · Contrast checker → · Palette generator →

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