#2941AB#2941AB

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

Color values

HEX#2941AB
RGBrgb(41, 65, 171)
HSLhsl(229, 61%, 42%)
HSVhsv(229, 76%, 67%)
CMYKcmyk(76%, 62%, 0%, 32.9%)
CIE-LABlab(32.24, 29.32, -59.32)
CIE-LCHlch(32.24, 66.17, 296.30°)
OKLaboklab(42.72% -0.0053 -0.1714)
OKLCHoklch(42.72% 0.172 268.2)
XYZxyz(10.1529, 7.1912, 39.3731)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2941AB #AB9329
analogous
#2982AB #2941AB #5229AB
triadic
#2941AB #AB2941 #41AB29
tetradic
#2941AB #AB2982 #AB9329 #29AB52
square
#2941AB #AB2982 #AB9329 #29AB52
split-complementary
#2941AB #AB5229 #82AB29
monochromatic
#111B48 #1D2E7A #2941AB #405BD1 #7185DD

Accessibility & contrast

On white

8.61
#2941AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2941AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2941AB#FFFFFF#000000##FFFFFF
##2941AB1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2941ab;
/* rgb */ color: rgb(41, 65, 171);
/* oklch */ color: oklch(42.7% 0.172 268.2);
Tailwind
colors: {
  custom: {
    50: '#7775c5',
    500: '#2941ab',
    950: '#000000',
  },
}
SCSS
$custom: #2941ab;
$custom-light: #7775c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2941ab",
  "rgb": {
    "r": 41,
    "g": 65,
    "b": 171
  },
  "hsl": {
    "h": 228.923,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42717,
    "c": 0.1715,
    "h": 268.2
  },
  "luminance": 0.07192
}

Semantic roles & 50–950 ramp

primary
#2941AB
secondary
#C4B46C
accent
#C743E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2941AB

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

Preview Lab → · Contrast checker → · Palette generator →

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