#3241AA#3241AA

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

Color values

HEX#3241AA
RGBrgb(50, 65, 170)
HSLhsl(233, 55%, 43%)
HSVhsv(233, 71%, 67%)
CMYKcmyk(70.6%, 61.8%, 0%, 33.3%)
CIE-LABlab(32.61, 30.06, -58.09)
CIE-LCHlch(32.61, 65.41, 297.36°)
OKLaboklab(43.09% 0.0036 -0.1676)
OKLCHoklch(43.09% 0.168 271.2)
XYZxyz(10.4589, 7.3600, 38.8918)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3241AA #AA9B32
analogous
#327DAA #3241AA #5F32AA
triadic
#3241AA #AA3241 #41AA32
tetradic
#3241AA #AA327D #AA9B32 #32AA5F
square
#3241AA #AA327D #AA9B32 #32AA5F
split-complementary
#3241AA #AA5F32 #7DAA32
monochromatic
#161D4B #242F7B #3241AA #4E5ECB #7D89D9

Accessibility & contrast

On white

8.49
#3241AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3241AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3241AA#FFFFFF#000000##FFFFFF
##3241AA1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3241aa;
/* rgb */ color: rgb(50, 65, 170);
/* oklch */ color: oklch(43.1% 0.168 271.2);
Tailwind
colors: {
  custom: {
    50: '#7a75c4',
    500: '#3241aa',
    950: '#000000',
  },
}
SCSS
$custom: #3241aa;
$custom-light: #7a75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3241aa",
  "rgb": {
    "r": 50,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 232.5,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43092,
    "c": 0.16766,
    "h": 271.2
  },
  "luminance": 0.07361
}

Semantic roles & 50–950 ramp

primary
#3241AA
secondary
#C2B876
accent
#CB4ADE
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #3241AA

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

Preview Lab → · Contrast checker → · Palette generator →

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