#2941A4#2941A4

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

Color values

HEX#2941A4
RGBrgb(41, 65, 164)
HSLhsl(228, 60%, 40%)
HSVhsv(228, 75%, 64%)
CMYKcmyk(75%, 60.4%, 0%, 35.7%)
CIE-LABlab(31.65, 26.68, -56.08)
CIE-LCHlch(31.65, 62.10, 295.44°)
OKLaboklab(42.1% -0.0053 -0.1619)
OKLCHoklch(42.1% 0.162 268.1)
XYZxyz(9.5033, 6.9313, 35.9518)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2941A4 #A48C29
analogous
#297EA4 #2941A4 #4F29A4
triadic
#2941A4 #A42941 #41A429
tetradic
#2941A4 #A4297E #A48C29 #29A44F
square
#2941A4 #A4297E #A48C29 #29A44F
split-complementary
#2941A4 #A44F29 #7EA429
monochromatic
#111A42 #1D2E73 #2941A4 #3C59CE #6D82DA

Accessibility & contrast

On white

8.80
#2941A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2941A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2941A4#FFFFFF#000000##FFFFFF
##2941A41.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#0045A2
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2941a4;
/* rgb */ color: rgb(41, 65, 164);
/* oklch */ color: oklch(42.1% 0.162 268.1);
Tailwind
colors: {
  custom: {
    50: '#7575c0',
    500: '#2941a4',
    950: '#000000',
  },
}
SCSS
$custom: #2941a4;
$custom-light: #7575c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2941a4",
  "rgb": {
    "r": 41,
    "g": 65,
    "b": 164
  },
  "hsl": {
    "h": 228.293,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42097,
    "c": 0.16201,
    "h": 268.1
  },
  "luminance": 0.06932
}

Semantic roles & 50–950 ramp

primary
#2941A4
secondary
#C1B068
accent
#C445E3
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2941A4

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

Preview Lab → · Contrast checker → · Palette generator →

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