#3241AF#3241AF

#3241AF is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.5% C 0.174 H 271.1°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#3241AF
RGBrgb(50, 65, 175)
HSLhsl(233, 56%, 44%)
HSVhsv(233, 71%, 69%)
CMYKcmyk(71.4%, 62.9%, 0%, 31.4%)
CIE-LABlab(33.03, 31.87, -60.39)
CIE-LCHlch(33.03, 68.28, 297.83°)
OKLaboklab(43.53% 0.0034 -0.1744)
OKLCHoklch(43.53% 0.174 271.1)
XYZxyz(10.9409, 7.5528, 41.4304)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3241AF #AFA032
analogous
#3280AF #3241AF #6232AF
triadic
#3241AF #AF3241 #41AF32
tetradic
#3241AF #AF3280 #AFA032 #32AF62
square
#3241AF #AF3280 #AFA032 #32AF62
split-complementary
#3241AF #AF6232 #80AF32
monochromatic
#171E50 #242F7F #3241AF #5160CD #818BDB

Accessibility & contrast

On white

8.36
#3241AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3241AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3241AF
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3241AF#FFFFFF#000000##FFFFFF
##3241AF1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3241af;
/* rgb */ color: rgb(50, 65, 175);
/* oklch */ color: oklch(43.5% 0.174 271.1);
Tailwind
colors: {
  custom: {
    50: '#7b75c8',
    500: '#3241af',
    950: '#000000',
  },
}
SCSS
$custom: #3241af;
$custom-light: #7b75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3241af",
  "rgb": {
    "r": 50,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 232.8,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43534,
    "c": 0.17439,
    "h": 271.1
  },
  "luminance": 0.07554
}

Semantic roles & 50–950 ramp

primary
#3241AF
secondary
#C4BB79
accent
#CD49DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3241AF

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

Preview Lab → · Contrast checker → · Palette generator →

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