#2947BA#2947BA

#2947BA is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.2% C 0.184 H 267.1°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#2947BA
RGBrgb(41, 71, 186)
HSLhsl(228, 64%, 45%)
HSVhsv(228, 78%, 73%)
CMYKcmyk(78%, 61.8%, 0%, 27.1%)
CIE-LABlab(35.05, 31.00, -63.63)
CIE-LCHlch(35.05, 70.77, 295.97°)
OKLaboklab(45.19% -0.0093 -0.184)
OKLCHoklch(45.19% 0.184 267.1)
XYZxyz(12.0275, 8.5217, 47.4558)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2947BA #BA9C29
analogous
#2990BA #2947BA #5329BA
triadic
#2947BA #BA2947 #47BA29
tetradic
#2947BA #BA2990 #BA9C29 #29BA53
square
#2947BA #BA2990 #BA9C29 #29BA53
split-complementary
#2947BA #BA5329 #90BA29
monochromatic
#132156 #1E3488 #2947BA #4967D7 #7B91E2

Accessibility & contrast

On white

7.76
#2947BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2947BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2947BA
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2947BA#FFFFFF#000000##FFFFFF
##2947BA1.007.762.707.76
#FFFFFF7.761.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2947ba;
/* rgb */ color: rgb(41, 71, 186);
/* oklch */ color: oklch(45.2% 0.184 267.1);
Tailwind
colors: {
  custom: {
    50: '#7a7ad0',
    500: '#2947ba',
    950: '#000000',
  },
}
SCSS
$custom: #2947ba;
$custom-light: #7a7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#2947ba",
  "rgb": {
    "r": 41,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 227.586,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45193,
    "c": 0.18421,
    "h": 267.1
  },
  "luminance": 0.08523
}

Semantic roles & 50–950 ramp

primary
#2947BA
secondary
#CAB875
accent
#C541E7
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2947BA

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

Preview Lab → · Contrast checker → · Palette generator →

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