#2941AC#2941AC

#2941AC is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.173 H 268.2°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#2941AC
RGBrgb(41, 65, 172)
HSLhsl(229, 62%, 42%)
HSVhsv(229, 76%, 67%)
CMYKcmyk(76.2%, 62.2%, 0%, 32.5%)
CIE-LABlab(32.32, 29.69, -59.78)
CIE-LCHlch(32.32, 66.74, 296.41°)
OKLaboklab(42.81% -0.0053 -0.1728)
OKLCHoklch(42.81% 0.173 268.2)
XYZxyz(10.2486, 7.2294, 39.8770)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2941AC #AC9429
analogous
#2982AC #2941AC #5329AC
triadic
#2941AC #AC2941 #41AC29
tetradic
#2941AC #AC2982 #AC9429 #29AC53
square
#2941AC #AC2982 #AC9429 #29AC53
split-complementary
#2941AC #AC5329 #82AC29
monochromatic
#111C49 #1D2E7B #2941AC #415BD2 #7286DD

Accessibility & contrast

On white

8.58
#2941AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2941AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2941AC
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2941AC#FFFFFF#000000##FFFFFF
##2941AC1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#0046AA
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2941ac;
/* rgb */ color: rgb(41, 65, 172);
/* oklch */ color: oklch(42.8% 0.173 268.2);
Tailwind
colors: {
  custom: {
    50: '#7775c6',
    500: '#2941ac',
    950: '#000000',
  },
}
SCSS
$custom: #2941ac;
$custom-light: #7775c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2941ac",
  "rgb": {
    "r": 41,
    "g": 65,
    "b": 172
  },
  "hsl": {
    "h": 229.008,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42807,
    "c": 0.17285,
    "h": 268.2
  },
  "luminance": 0.07231
}

Semantic roles & 50–950 ramp

primary
#2941AC
secondary
#C5B46C
accent
#C743E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2941AC

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

Preview Lab → · Contrast checker → · Palette generator →

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