#3241AC#3241AC

#3241AC is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.3% C 0.170 H 271.2°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#3241AC
RGBrgb(50, 65, 172)
HSLhsl(233, 55%, 44%)
HSVhsv(233, 71%, 67%)
CMYKcmyk(70.9%, 62.2%, 0%, 32.5%)
CIE-LABlab(32.78, 30.79, -59.01)
CIE-LCHlch(32.78, 66.56, 297.55°)
OKLaboklab(43.27% 0.0035 -0.1703)
OKLCHoklch(43.27% 0.17 271.2)
XYZxyz(10.6496, 7.4362, 39.8958)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3241AC #AC9D32
analogous
#327EAC #3241AC #6032AC
triadic
#3241AC #AC3241 #41AC32
tetradic
#3241AC #AC327E #AC9D32 #32AC60
square
#3241AC #AC327E #AC9D32 #32AC60
split-complementary
#3241AC #AC6032 #7EAC32
monochromatic
#161D4D #242F7D #3241AC #4F5FCC #7F8ADA

Accessibility & contrast

On white

8.44
#3241AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3241AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3241AC
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3241AC#FFFFFF#000000##FFFFFF
##3241AC1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#005C70
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3241ac;
/* rgb */ color: rgb(50, 65, 172);
/* oklch */ color: oklch(43.3% 0.170 271.2);
Tailwind
colors: {
  custom: {
    50: '#7a75c6',
    500: '#3241ac',
    950: '#000000',
  },
}
SCSS
$custom: #3241ac;
$custom-light: #7a75c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3241ac",
  "rgb": {
    "r": 50,
    "g": 65,
    "b": 172
  },
  "hsl": {
    "h": 232.623,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43268,
    "c": 0.17037,
    "h": 271.2
  },
  "luminance": 0.07437
}

Semantic roles & 50–950 ramp

primary
#3241AC
secondary
#C3B977
accent
#CC4ADE
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3241AC

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

Preview Lab → · Contrast checker → · Palette generator →

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