#2941A8#2941A8

#2941A8 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.4% C 0.167 H 268.2°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#2941A8
RGBrgb(41, 65, 168)
HSLhsl(229, 61%, 41%)
HSVhsv(229, 76%, 66%)
CMYKcmyk(75.6%, 61.3%, 0%, 34.1%)
CIE-LABlab(31.98, 28.19, -57.94)
CIE-LCHlch(31.98, 64.43, 295.95°)
OKLaboklab(42.45% -0.0053 -0.1674)
OKLCHoklch(42.45% 0.167 268.2)
XYZxyz(9.8702, 7.0781, 37.8842)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2941A8 #A89029
analogous
#2980A8 #2941A8 #5029A8
triadic
#2941A8 #A82941 #41A829
tetradic
#2941A8 #A82980 #A89029 #29A850
square
#2941A8 #A82980 #A89029 #29A850
split-complementary
#2941A8 #A85029 #80A829
monochromatic
#111B46 #1D2E77 #2941A8 #3E5AD0 #6F84DC

Accessibility & contrast

On white

8.69
#2941A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2941A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2941A8
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2941A8#FFFFFF#000000##FFFFFF
##2941A81.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#0045A6
Tritanopia (blue-blind)
#005B6E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2941a8;
/* rgb */ color: rgb(41, 65, 168);
/* oklch */ color: oklch(42.4% 0.167 268.2);
Tailwind
colors: {
  custom: {
    50: '#7675c3',
    500: '#2941a8',
    950: '#000000',
  },
}
SCSS
$custom: #2941a8;
$custom-light: #7675c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2941a8",
  "rgb": {
    "r": 41,
    "g": 65,
    "b": 168
  },
  "hsl": {
    "h": 228.661,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4245,
    "c": 0.16745,
    "h": 268.2
  },
  "luminance": 0.07079
}

Semantic roles & 50–950 ramp

primary
#2941A8
secondary
#C3B26A
accent
#C644E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2941A8

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

Preview Lab → · Contrast checker → · Palette generator →

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