#2947B3#2947B3

#2947B3 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.6% C 0.175 H 267.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#2947B3
RGBrgb(41, 71, 179)
HSLhsl(227, 63%, 43%)
HSVhsv(227, 77%, 70%)
CMYKcmyk(77.1%, 60.3%, 0%, 29.8%)
CIE-LABlab(34.46, 28.37, -60.45)
CIE-LCHlch(34.46, 66.78, 295.14°)
OKLaboklab(44.58% -0.0093 -0.1747)
OKLCHoklch(44.58% 0.175 267)
XYZxyz(11.3015, 8.2313, 43.6323)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2947B3 #B39529
analogous
#298CB3 #2947B3 #5029B3
triadic
#2947B3 #B32947 #47B329
tetradic
#2947B3 #B3298C #B39529 #29B350
square
#2947B3 #B3298C #B39529 #29B350
split-complementary
#2947B3 #B35029 #8CB329
monochromatic
#121F4F #1E3381 #2947B3 #4564D4 #778DE0

Accessibility & contrast

On white

7.93
#2947B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2947B3
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2947B3#FFFFFF#000000##FFFFFF
##2947B31.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#004BB1
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2947b3;
/* rgb */ color: rgb(41, 71, 179);
/* oklch */ color: oklch(44.6% 0.175 267.0);
Tailwind
colors: {
  custom: {
    50: '#7879cb',
    500: '#2947b3',
    950: '#000000',
  },
}
SCSS
$custom: #2947b3;
$custom-light: #7879cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2947b3",
  "rgb": {
    "r": 41,
    "g": 71,
    "b": 179
  },
  "hsl": {
    "h": 226.957,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44576,
    "c": 0.17492,
    "h": 267
  },
  "luminance": 0.08233
}

Semantic roles & 50–950 ramp

primary
#2947B3
secondary
#C7B470
accent
#C242E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2947B3

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

Preview Lab → · Contrast checker → · Palette generator →

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