#2947A5#2947A5

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

Color values

HEX#2947A5
RGBrgb(41, 71, 165)
HSLhsl(225, 60%, 40%)
HSVhsv(225, 75%, 65%)
CMYKcmyk(75.2%, 57%, 0%, 35.3%)
CIE-LABlab(33.34, 23.05, -53.94)
CIE-LCHlch(33.34, 58.65, 293.14°)
OKLaboklab(43.38% -0.0097 -0.1555)
OKLCHoklch(43.38% 0.156 266.4)
XYZxyz(9.9568, 7.6934, 36.5502)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2947A5 #A58729
analogous
#2985A5 #2947A5 #4929A5
triadic
#2947A5 #A52947 #47A529
tetradic
#2947A5 #A52985 #A58729 #29A549
square
#2947A5 #A52985 #A58729 #29A549
split-complementary
#2947A5 #A54929 #85A529
monochromatic
#111D43 #1D3274 #2947A5 #3D60CF #6E88DB

Accessibility & contrast

On white

8.27
#2947A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2947A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2947A5
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2947A5#FFFFFF#000000##FFFFFF
##2947A51.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#0049A3
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2947a5;
/* rgb */ color: rgb(41, 71, 165);
/* oklch */ color: oklch(43.4% 0.156 266.4);
Tailwind
colors: {
  custom: {
    50: '#7579c0',
    500: '#2947a5',
    950: '#000000',
  },
}
SCSS
$custom: #2947a5;
$custom-light: #7579c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2947a5",
  "rgb": {
    "r": 41,
    "g": 71,
    "b": 165
  },
  "hsl": {
    "h": 225.484,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43383,
    "c": 0.15583,
    "h": 266.4
  },
  "luminance": 0.07695
}

Semantic roles & 50–950 ramp

primary
#2947A5
secondary
#C2AC68
accent
#BD44E3
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2947A5

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

Preview Lab → · Contrast checker → · Palette generator →

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