#2946AC#2946AC

#2946AC is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.8% C 0.167 H 267.0°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#2946AC
RGBrgb(41, 70, 172)
HSLhsl(227, 62%, 42%)
HSVhsv(227, 76%, 67%)
CMYKcmyk(76.2%, 59.3%, 0%, 32.5%)
CIE-LABlab(33.62, 26.38, -57.65)
CIE-LCHlch(33.62, 63.40, 294.59°)
OKLaboklab(43.77% -0.0087 -0.1665)
OKLCHoklch(43.77% 0.167 267)
XYZxyz(10.5484, 7.8291, 39.9770)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2946AC #AC8F29
analogous
#2987AC #2946AC #4E29AC
triadic
#2946AC #AC2946 #46AC29
tetradic
#2946AC #AC2987 #AC8F29 #29AC4E
square
#2946AC #AC2987 #AC8F29 #29AC4E
split-complementary
#2946AC #AC4E29 #87AC29
monochromatic
#111E49 #1D327B #2946AC #4161D2 #728ADD

Accessibility & contrast

On white

8.18
#2946AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2946AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2946AC
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2946AC#FFFFFF#000000##FFFFFF
##2946AC1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2946ac;
/* rgb */ color: rgb(41, 70, 172);
/* oklch */ color: oklch(43.8% 0.167 267.0);
Tailwind
colors: {
  custom: {
    50: '#7779c6',
    500: '#2946ac',
    950: '#000000',
  },
}
SCSS
$custom: #2946ac;
$custom-light: #7779c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2946ac",
  "rgb": {
    "r": 41,
    "g": 70,
    "b": 172
  },
  "hsl": {
    "h": 226.718,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43774,
    "c": 0.1667,
    "h": 267
  },
  "luminance": 0.0783
}

Semantic roles & 50–950 ramp

primary
#2946AC
secondary
#C5B16C
accent
#C143E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2946AC

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

Preview Lab → · Contrast checker → · Palette generator →

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