#2941AA#2941AA

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

Color values

HEX#2941AA
RGBrgb(41, 65, 170)
HSLhsl(229, 61%, 41%)
HSVhsv(229, 76%, 67%)
CMYKcmyk(75.9%, 61.8%, 0%, 33.3%)
CIE-LABlab(32.15, 28.94, -58.86)
CIE-LCHlch(32.15, 65.59, 296.18°)
OKLaboklab(42.63% -0.0053 -0.1701)
OKLCHoklch(42.63% 0.17 268.2)
XYZxyz(10.0579, 7.1532, 38.8730)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2941AA #AA9229
analogous
#2982AA #2941AA #5229AA
triadic
#2941AA #AA2941 #41AA29
tetradic
#2941AA #AA2982 #AA9229 #29AA52
square
#2941AA #AA2982 #AA9229 #29AA52
split-complementary
#2941AA #AA5229 #82AA29
monochromatic
#111B47 #1D2E79 #2941AA #3F5AD1 #7185DD

Accessibility & contrast

On white

8.64
#2941AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2941AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2941AA#FFFFFF#000000##FFFFFF
##2941AA1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#0046A8
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2941aa;
/* rgb */ color: rgb(41, 65, 170);
/* oklch */ color: oklch(42.6% 0.170 268.2);
Tailwind
colors: {
  custom: {
    50: '#7775c4',
    500: '#2941aa',
    950: '#000000',
  },
}
SCSS
$custom: #2941aa;
$custom-light: #7775c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2941aa",
  "rgb": {
    "r": 41,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 228.837,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42627,
    "c": 0.17016,
    "h": 268.2
  },
  "luminance": 0.07154
}

Semantic roles & 50–950 ramp

primary
#2941AA
secondary
#C4B36B
accent
#C644E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2941AA

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

Preview Lab → · Contrast checker → · Palette generator →

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