#2941A5#2941A5

#2941A5 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.2% C 0.163 H 268.1°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#2941A5
RGBrgb(41, 65, 165)
HSLhsl(228, 60%, 40%)
HSVhsv(228, 75%, 65%)
CMYKcmyk(75.2%, 60.6%, 0%, 35.3%)
CIE-LABlab(31.73, 27.06, -56.55)
CIE-LCHlch(31.73, 62.69, 295.57°)
OKLaboklab(42.19% -0.0053 -0.1633)
OKLCHoklch(42.19% 0.163 268.1)
XYZxyz(9.5939, 6.9676, 36.4293)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2941A5 #A58D29
analogous
#297FA5 #2941A5 #4F29A5
triadic
#2941A5 #A52941 #41A529
tetradic
#2941A5 #A5297F #A58D29 #29A54F
square
#2941A5 #A5297F #A58D29 #29A54F
split-complementary
#2941A5 #A54F29 #7FA529
monochromatic
#111A43 #1D2E74 #2941A5 #3D59CF #6E83DB

Accessibility & contrast

On white

8.77
#2941A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##2941A5#FFFFFF#000000##FFFFFF
##2941A51.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A8
Deuteranopia (green-blind)
#0045A3
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2941a5;
/* rgb */ color: rgb(41, 65, 165);
/* oklch */ color: oklch(42.2% 0.163 268.1);
Tailwind
colors: {
  custom: {
    50: '#7575c1',
    500: '#2941a5',
    950: '#000000',
  },
}
SCSS
$custom: #2941a5;
$custom-light: #7575c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2941a5",
  "rgb": {
    "r": 41,
    "g": 65,
    "b": 165
  },
  "hsl": {
    "h": 228.387,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42185,
    "c": 0.16338,
    "h": 268.1
  },
  "luminance": 0.06969
}

Semantic roles & 50–950 ramp

primary
#2941A5
secondary
#C2B068
accent
#C544E3
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2941A5

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

Preview Lab → · Contrast checker → · Palette generator →

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