#3241B3#3241B3

#3241B3 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.9% C 0.180 H 271.0°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#3241B3
RGBrgb(50, 65, 179)
HSLhsl(233, 56%, 45%)
HSVhsv(233, 72%, 70%)
CMYKcmyk(72.1%, 63.7%, 0%, 29.8%)
CIE-LABlab(33.38, 33.32, -62.20)
CIE-LCHlch(33.38, 70.56, 298.17°)
OKLaboklab(43.89% 0.0033 -0.1797)
OKLCHoklch(43.89% 0.18 271)
XYZxyz(11.3396, 7.7122, 43.5301)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3241B3 #B3A432
analogous
#3282B3 #3241B3 #6332B3
triadic
#3241B3 #B33241 #41B332
tetradic
#3241B3 #B33282 #B3A432 #32B363
square
#3241B3 #B33282 #B3A432 #32B363
split-complementary
#3241B3 #B36332 #82B332
monochromatic
#171E53 #253083 #3241B3 #5362CF #838DDC

Accessibility & contrast

On white

8.26
#3241B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3241B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3241B3#FFFFFF#000000##FFFFFF
##3241B31.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3241b3;
/* rgb */ color: rgb(50, 65, 179);
/* oklch */ color: oklch(43.9% 0.180 271.0);
Tailwind
colors: {
  custom: {
    50: '#7c75cb',
    500: '#3241b3',
    950: '#000000',
  },
}
SCSS
$custom: #3241b3;
$custom-light: #7c75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3241b3",
  "rgb": {
    "r": 50,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 233.023,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43892,
    "c": 0.17972,
    "h": 271
  },
  "luminance": 0.07713
}

Semantic roles & 50–950 ramp

primary
#3241B3
secondary
#C6BD7B
accent
#CE48E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3241B3

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

Preview Lab → · Contrast checker → · Palette generator →

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