#3241B2#3241B2

#3241B2 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.8% C 0.178 H 271.1°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#3241B2
RGBrgb(50, 65, 178)
HSLhsl(233, 56%, 45%)
HSVhsv(233, 72%, 70%)
CMYKcmyk(71.9%, 63.5%, 0%, 30.2%)
CIE-LABlab(33.29, 32.96, -61.75)
CIE-LCHlch(33.29, 70.00, 298.09°)
OKLaboklab(43.8% 0.0033 -0.1784)
OKLCHoklch(43.8% 0.178 271.1)
XYZxyz(11.2388, 7.6719, 42.9994)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3241B2 #B2A332
analogous
#3281B2 #3241B2 #6332B2
triadic
#3241B2 #B23241 #41B232
tetradic
#3241B2 #B23281 #B2A332 #32B263
square
#3241B2 #B23281 #B2A332 #32B263
split-complementary
#3241B2 #B26332 #81B232
monochromatic
#171E52 #253082 #3241B2 #5361CF #828DDC

Accessibility & contrast

On white

8.29
#3241B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3241B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3241B2#FFFFFF#000000##FFFFFF
##3241B21.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3241b2;
/* rgb */ color: rgb(50, 65, 178);
/* oklch */ color: oklch(43.8% 0.178 271.1);
Tailwind
colors: {
  custom: {
    50: '#7c75ca',
    500: '#3241b2',
    950: '#000000',
  },
}
SCSS
$custom: #3241b2;
$custom-light: #7c75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3241b2",
  "rgb": {
    "r": 50,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 232.969,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43802,
    "c": 0.17839,
    "h": 271.1
  },
  "luminance": 0.07673
}

Semantic roles & 50–950 ramp

primary
#3241B2
secondary
#C5BD7B
accent
#CE48DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3241B2

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

Preview Lab → · Contrast checker → · Palette generator →

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