#3241A7#3241A7

#3241A7 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.164 H 271.3°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#3241A7
RGBrgb(50, 65, 167)
HSLhsl(232, 54%, 43%)
HSVhsv(232, 70%, 65%)
CMYKcmyk(70.1%, 61.1%, 0%, 34.5%)
CIE-LABlab(32.36, 28.97, -56.70)
CIE-LCHlch(32.36, 63.67, 297.07°)
OKLaboklab(42.83% 0.0036 -0.1635)
OKLCHoklch(42.83% 0.164 271.3)
XYZxyz(10.1784, 7.2477, 37.4143)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3241A7 #A79832
analogous
#327BA7 #3241A7 #5E32A7
triadic
#3241A7 #A73241 #41A732
tetradic
#3241A7 #A7327B #A79832 #32A75E
square
#3241A7 #A7327B #A79832 #32A75E
split-complementary
#3241A7 #A75E32 #7BA732
monochromatic
#161C49 #242F78 #3241A7 #4D5DCA #7C88D8

Accessibility & contrast

On white

8.57
#3241A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3241A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3241A7
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3241A7#FFFFFF#000000##FFFFFF
##3241A71.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AA
Deuteranopia (green-blind)
#0047A5
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3241a7;
/* rgb */ color: rgb(50, 65, 167);
/* oklch */ color: oklch(42.8% 0.164 271.3);
Tailwind
colors: {
  custom: {
    50: '#7975c2',
    500: '#3241a7',
    950: '#000000',
  },
}
SCSS
$custom: #3241a7;
$custom-light: #7975c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3241a7",
  "rgb": {
    "r": 50,
    "g": 65,
    "b": 167
  },
  "hsl": {
    "h": 232.308,
    "s": 53.917,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42831,
    "c": 0.16357,
    "h": 271.3
  },
  "luminance": 0.07249
}

Semantic roles & 50–950 ramp

primary
#3241A7
secondary
#C0B774
accent
#CA4BDD
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3241A7

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

Preview Lab → · Contrast checker → · Palette generator →

#3241A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva