#2946B4#2946B4

#2946B4 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.5% C 0.177 H 267.2°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#2946B4
RGBrgb(41, 70, 180)
HSLhsl(227, 63%, 43%)
HSVhsv(227, 77%, 71%)
CMYKcmyk(77.2%, 61.1%, 0%, 29.4%)
CIE-LABlab(34.28, 29.40, -61.33)
CIE-LCHlch(34.28, 68.01, 295.61°)
OKLaboklab(44.47% -0.0086 -0.1773)
OKLCHoklch(44.47% 0.177 267.2)
XYZxyz(11.3400, 8.1458, 44.1458)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2946B4 #B49729
analogous
#298BB4 #2946B4 #5129B4
triadic
#2946B4 #B42946 #46B429
tetradic
#2946B4 #B4298B #B49729 #29B451
square
#2946B4 #B4298B #B49729 #29B451
split-complementary
#2946B4 #B45129 #8BB429
monochromatic
#121F50 #1E3382 #2946B4 #4563D5 #778DE0

Accessibility & contrast

On white

7.99
#2946B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2946B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2946B4
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2946B4#FFFFFF#000000##FFFFFF
##2946B41.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#004AB2
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2946b4;
/* rgb */ color: rgb(41, 70, 180);
/* oklch */ color: oklch(44.5% 0.177 267.2);
Tailwind
colors: {
  custom: {
    50: '#7979cb',
    500: '#2946b4',
    950: '#000000',
  },
}
SCSS
$custom: #2946b4;
$custom-light: #7979cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2946b4",
  "rgb": {
    "r": 41,
    "g": 70,
    "b": 180
  },
  "hsl": {
    "h": 227.482,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44471,
    "c": 0.17747,
    "h": 267.2
  },
  "luminance": 0.08147
}

Semantic roles & 50–950 ramp

primary
#2946B4
secondary
#C8B671
accent
#C442E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2946B4

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

Preview Lab → · Contrast checker → · Palette generator →

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