#3241A3#3241A3

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

Color values

HEX#3241A3
RGBrgb(50, 65, 163)
HSLhsl(232, 53%, 42%)
HSVhsv(232, 69%, 64%)
CMYKcmyk(69.3%, 60.1%, 0%, 36.1%)
CIE-LABlab(32.04, 27.51, -54.82)
CIE-LCHlch(32.04, 61.34, 296.65°)
OKLaboklab(42.49% 0.0037 -0.158)
OKLCHoklch(42.49% 0.158 271.3)
XYZxyz(9.8143, 7.1021, 35.4969)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3241A3 #A39432
analogous
#327AA3 #3241A3 #5B32A3
triadic
#3241A3 #A33241 #41A332
tetradic
#3241A3 #A3327A #A39432 #32A35B
square
#3241A3 #A3327A #A39432 #32A35B
split-complementary
#3241A3 #A35B32 #7AA332
monochromatic
#151C45 #242E74 #3241A3 #4B5BC8 #7986D6

Accessibility & contrast

On white

8.68
#3241A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3241A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3241A3#FFFFFF#000000##FFFFFF
##3241A31.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A6
Deuteranopia (green-blind)
#0046A1
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3241a3;
/* rgb */ color: rgb(50, 65, 163);
/* oklch */ color: oklch(42.5% 0.158 271.3);
Tailwind
colors: {
  custom: {
    50: '#7875bf',
    500: '#3241a3',
    950: '#000000',
  },
}
SCSS
$custom: #3241a3;
$custom-light: #7875bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3241a3",
  "rgb": {
    "r": 50,
    "g": 65,
    "b": 163
  },
  "hsl": {
    "h": 232.035,
    "s": 53.052,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42488,
    "c": 0.15807,
    "h": 271.3
  },
  "luminance": 0.07103
}

Semantic roles & 50–950 ramp

primary
#3241A3
secondary
#BFB472
accent
#C94BDC
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3241A3

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

Preview Lab → · Contrast checker → · Palette generator →

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