#2941A2#2941A2

#2941A2 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.159 H 268.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#2941A2
RGBrgb(41, 65, 162)
HSLhsl(228, 60%, 40%)
HSVhsv(228, 75%, 64%)
CMYKcmyk(74.7%, 59.9%, 0%, 36.5%)
CIE-LABlab(31.49, 25.92, -55.14)
CIE-LCHlch(31.49, 60.93, 295.18°)
OKLaboklab(41.92% -0.0053 -0.1592)
OKLCHoklch(41.92% 0.159 268.1)
XYZxyz(9.3241, 6.8597, 35.0081)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2941A2 #A28A29
analogous
#297EA2 #2941A2 #4D29A2
triadic
#2941A2 #A22941 #41A229
tetradic
#2941A2 #A2297E #A28A29 #29A24D
square
#2941A2 #A2297E #A28A29 #29A24D
split-complementary
#2941A2 #A24D29 #7EA229
monochromatic
#101A40 #1D2D71 #2941A2 #3B58CD #6C82DA

Accessibility & contrast

On white

8.85
#2941A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2941A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2941A2#FFFFFF#000000##FFFFFF
##2941A21.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2941a2;
/* rgb */ color: rgb(41, 65, 162);
/* oklch */ color: oklch(41.9% 0.159 268.1);
Tailwind
colors: {
  custom: {
    50: '#7575be',
    500: '#2941a2',
    950: '#000000',
  },
}
SCSS
$custom: #2941a2;
$custom-light: #7575be;
$custom-dark: #000000;
JSON
{
  "hex": "#2941a2",
  "rgb": {
    "r": 41,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 228.099,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41923,
    "c": 0.15926,
    "h": 268.1
  },
  "luminance": 0.06861
}

Semantic roles & 50–950 ramp

primary
#2941A2
secondary
#C0AE67
accent
#C345E3
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2941A2

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

Preview Lab → · Contrast checker → · Palette generator →

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