#2947AE#2947AE

#2947AE is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.1% C 0.168 H 266.8°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#2947AE
RGBrgb(41, 71, 174)
HSLhsl(226, 62%, 42%)
HSVhsv(226, 76%, 68%)
CMYKcmyk(76.4%, 59.2%, 0%, 31.8%)
CIE-LABlab(34.05, 26.48, -58.15)
CIE-LCHlch(34.05, 63.89, 294.48°)
OKLaboklab(44.14% -0.0094 -0.1679)
OKLCHoklch(44.14% 0.168 266.8)
XYZxyz(10.8050, 8.0327, 41.0172)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2947AE #AE9029
analogous
#298AAE #2947AE #4E29AE
triadic
#2947AE #AE2947 #47AE29
tetradic
#2947AE #AE298A #AE9029 #29AE4E
square
#2947AE #AE298A #AE9029 #29AE4E
split-complementary
#2947AE #AE4E29 #8AAE29
monochromatic
#121F4B #1D337C #2947AE #4262D2 #738BDE

Accessibility & contrast

On white

8.06
#2947AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2947AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2947AE
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2947AE#FFFFFF#000000##FFFFFF
##2947AE1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#004AAC
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2947ae;
/* rgb */ color: rgb(41, 71, 174);
/* oklch */ color: oklch(44.1% 0.168 266.8);
Tailwind
colors: {
  custom: {
    50: '#7779c7',
    500: '#2947ae',
    950: '#000000',
  },
}
SCSS
$custom: #2947ae;
$custom-light: #7779c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2947ae",
  "rgb": {
    "r": 41,
    "g": 71,
    "b": 174
  },
  "hsl": {
    "h": 226.466,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44143,
    "c": 0.16817,
    "h": 266.8
  },
  "luminance": 0.08034
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2947AE

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

Preview Lab → · Contrast checker → · Palette generator →

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