#3241B5#3241B5

#3241B5 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.1% C 0.182 H 271.0°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#3241B5
RGBrgb(50, 65, 181)
HSLhsl(233, 57%, 45%)
HSVhsv(233, 72%, 71%)
CMYKcmyk(72.4%, 64.1%, 0%, 29%)
CIE-LABlab(33.55, 34.03, -63.11)
CIE-LCHlch(33.55, 71.70, 298.34°)
OKLaboklab(44.07% 0.0032 -0.1823)
OKLCHoklch(44.07% 0.182 271)
XYZxyz(11.5433, 7.7937, 44.6031)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3241B5 #B5A632
analogous
#3282B5 #3241B5 #6532B5
triadic
#3241B5 #B53241 #41B532
tetradic
#3241B5 #B53282 #B5A632 #32B565
square
#3241B5 #B53282 #B5A632 #32B565
split-complementary
#3241B5 #B56532 #82B532
monochromatic
#181F55 #253085 #3241B5 #5462D0 #848EDD

Accessibility & contrast

On white

8.21
#3241B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3241B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3241B5#FFFFFF#000000##FFFFFF
##3241B51.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#0049B3
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3241b5;
/* rgb */ color: rgb(50, 65, 181);
/* oklch */ color: oklch(44.1% 0.182 271.0);
Tailwind
colors: {
  custom: {
    50: '#7c75cc',
    500: '#3241b5',
    950: '#000000',
  },
}
SCSS
$custom: #3241b5;
$custom-light: #7c75cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3241b5",
  "rgb": {
    "r": 50,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 233.13,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44073,
    "c": 0.18236,
    "h": 271
  },
  "luminance": 0.07795
}

Semantic roles & 50–950 ramp

primary
#3241B5
secondary
#C7BE7C
accent
#CF48E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3241B5

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

Preview Lab → · Contrast checker → · Palette generator →

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