#2946BA#2946BA

#2946BA is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.0% C 0.185 H 267.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#2946BA
RGBrgb(41, 70, 186)
HSLhsl(228, 64%, 45%)
HSVhsv(228, 78%, 73%)
CMYKcmyk(78%, 62.4%, 0%, 27.1%)
CIE-LABlab(34.79, 31.65, -64.04)
CIE-LCHlch(34.79, 71.43, 296.30°)
OKLaboklab(45.01% -0.0087 -0.1852)
OKLCHoklch(45.01% 0.185 267.3)
XYZxyz(11.9644, 8.3955, 47.4348)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2946BA #BA9D29
analogous
#298FBA #2946BA #5529BA
triadic
#2946BA #BA2946 #46BA29
tetradic
#2946BA #BA298F #BA9D29 #29BA55
square
#2946BA #BA298F #BA9D29 #29BA55
split-complementary
#2946BA #BA5529 #8FBA29
monochromatic
#132056 #1E3388 #2946BA #4966D7 #7B90E2

Accessibility & contrast

On white

7.84
#2946BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2946BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2946BA
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2946BA#FFFFFF#000000##FFFFFF
##2946BA1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2946ba;
/* rgb */ color: rgb(41, 70, 186);
/* oklch */ color: oklch(45.0% 0.185 267.3);
Tailwind
colors: {
  custom: {
    50: '#7a79d0',
    500: '#2946ba',
    950: '#000000',
  },
}
SCSS
$custom: #2946ba;
$custom-light: #7a79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2946ba",
  "rgb": {
    "r": 41,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 228,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45006,
    "c": 0.18541,
    "h": 267.3
  },
  "luminance": 0.08397
}

Semantic roles & 50–950 ramp

primary
#2946BA
secondary
#CAB975
accent
#C641E7
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2946BA

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

Preview Lab → · Contrast checker → · Palette generator →

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