#2941B7#2941B7

#2941B7 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.8% C 0.187 H 268.3°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#2941B7
RGBrgb(41, 65, 183)
HSLhsl(230, 63%, 44%)
HSVhsv(230, 78%, 72%)
CMYKcmyk(77.6%, 64.5%, 0%, 28.2%)
CIE-LABlab(33.29, 33.78, -64.74)
CIE-LCHlch(33.29, 73.02, 297.55°)
OKLaboklab(43.81% -0.0056 -0.1873)
OKLCHoklch(43.81% 0.187 268.3)
XYZxyz(11.3490, 7.6696, 45.6728)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2941B7 #B79F29
analogous
#2988B7 #2941B7 #5829B7
triadic
#2941B7 #B72941 #41B729
tetradic
#2941B7 #B72988 #B79F29 #29B758
square
#2941B7 #B72988 #B79F29 #29B758
split-complementary
#2941B7 #B75829 #88B729
monochromatic
#131D53 #1E2F85 #2941B7 #475FD6 #798BE1

Accessibility & contrast

On white

8.29
#2941B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2941B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2941B7#FFFFFF#000000##FFFFFF
##2941B71.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#0048B5
Tritanopia (blue-blind)
#006076
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2941b7;
/* rgb */ color: rgb(41, 65, 183);
/* oklch */ color: oklch(43.8% 0.187 268.3);
Tailwind
colors: {
  custom: {
    50: '#7a75ce',
    500: '#2941b7',
    950: '#000000',
  },
}
SCSS
$custom: #2941b7;
$custom-light: #7a75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2941b7",
  "rgb": {
    "r": 41,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 229.859,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43812,
    "c": 0.18738,
    "h": 268.3
  },
  "luminance": 0.07671
}

Semantic roles & 50–950 ramp

primary
#2941B7
secondary
#C9BA73
accent
#CB41E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2941B7

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

Preview Lab → · Contrast checker → · Palette generator →

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