#3241B7#3241B7

#3241B7 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.3% C 0.185 H 270.9°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#3241B7
RGBrgb(50, 65, 183)
HSLhsl(233, 57%, 46%)
HSVhsv(233, 73%, 72%)
CMYKcmyk(72.7%, 64.5%, 0%, 28.2%)
CIE-LABlab(33.72, 34.75, -64.00)
CIE-LCHlch(33.72, 72.83, 298.50°)
OKLaboklab(44.25% 0.0031 -0.185)
OKLCHoklch(44.25% 0.185 270.9)
XYZxyz(11.7500, 7.8764, 45.6916)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3241B7 #B7A832
analogous
#3283B7 #3241B7 #6532B7
triadic
#3241B7 #B73241 #41B732
tetradic
#3241B7 #B73283 #B7A832 #32B765
square
#3241B7 #B73283 #B7A832 #32B765
split-complementary
#3241B7 #B76532 #83B732
monochromatic
#181F57 #253087 #3241B7 #5663D1 #8690DE

Accessibility & contrast

On white

8.15
#3241B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3241B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3241B7#FFFFFF#000000##FFFFFF
##3241B71.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#0049B5
Tritanopia (blue-blind)
#006076
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3241b7;
/* rgb */ color: rgb(50, 65, 183);
/* oklch */ color: oklch(44.3% 0.185 270.9);
Tailwind
colors: {
  custom: {
    50: '#7d75ce',
    500: '#3241b7',
    950: '#000000',
  },
}
SCSS
$custom: #3241b7;
$custom-light: #7d75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3241b7",
  "rgb": {
    "r": 50,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 233.233,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44254,
    "c": 0.18499,
    "h": 270.9
  },
  "luminance": 0.07878
}

Semantic roles & 50–950 ramp

primary
#3241B7
secondary
#C7BF7D
accent
#CF47E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #3241B7

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

Preview Lab → · Contrast checker → · Palette generator →

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