#3241A2#3241A2

#3241A2 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.4% C 0.157 H 271.3°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#3241A2
RGBrgb(50, 65, 162)
HSLhsl(232, 53%, 42%)
HSVhsv(232, 69%, 64%)
CMYKcmyk(69.1%, 59.9%, 0%, 36.5%)
CIE-LABlab(31.96, 27.15, -54.35)
CIE-LCHlch(31.96, 60.76, 296.54°)
OKLaboklab(42.4% 0.0037 -0.1567)
OKLCHoklch(42.4% 0.157 271.3)
XYZxyz(9.7251, 7.0664, 35.0269)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3241A2 #A29332
analogous
#3279A2 #3241A2 #5B32A2
triadic
#3241A2 #A23241 #41A232
tetradic
#3241A2 #A23279 #A29332 #32A25B
square
#3241A2 #A23279 #A29332 #32A25B
split-complementary
#3241A2 #A25B32 #79A232
monochromatic
#151B44 #242E73 #3241A2 #4A5BC7 #7985D6

Accessibility & contrast

On white

8.70
#3241A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3241A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3241A2
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3241A2#FFFFFF#000000##FFFFFF
##3241A21.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3241a2;
/* rgb */ color: rgb(50, 65, 162);
/* oklch */ color: oklch(42.4% 0.157 271.3);
Tailwind
colors: {
  custom: {
    50: '#7875be',
    500: '#3241a2',
    950: '#000000',
  },
}
SCSS
$custom: #3241a2;
$custom-light: #7875be;
$custom-dark: #000000;
JSON
{
  "hex": "#3241a2",
  "rgb": {
    "r": 50,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 231.964,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42403,
    "c": 0.15669,
    "h": 271.3
  },
  "luminance": 0.07067
}

Semantic roles & 50–950 ramp

primary
#3241A2
secondary
#BEB472
accent
#C94CDC
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3241A2

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

Preview Lab → · Contrast checker → · Palette generator →

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