#3240AE#3240AE

#3240AE is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.3% C 0.174 H 271.4°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#3240AE
RGBrgb(50, 64, 174)
HSLhsl(233, 55%, 44%)
HSVhsv(233, 71%, 68%)
CMYKcmyk(71.3%, 63.2%, 0%, 31.8%)
CIE-LABlab(32.70, 32.16, -60.34)
CIE-LCHlch(32.70, 68.37, 298.06°)
OKLaboklab(43.26% 0.0042 -0.1742)
OKLCHoklch(43.26% 0.174 271.4)
XYZxyz(10.7862, 7.3998, 40.8961)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3240AE #AEA032
analogous
#327EAE #3240AE #6232AE
triadic
#3240AE #AE3240 #40AE32
tetradic
#3240AE #AE327E #AEA032 #32AE62
square
#3240AE #AE327E #AEA032 #32AE62
split-complementary
#3240AE #AE6232 #7EAE32
monochromatic
#171D4F #242F7E #3240AE #505ECD #808ADA

Accessibility & contrast

On white

8.47
#3240AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3240AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3240AE
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3240AE#FFFFFF#000000##FFFFFF
##3240AE1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0047AC
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3240ae;
/* rgb */ color: rgb(50, 64, 174);
/* oklch */ color: oklch(43.3% 0.174 271.4);
Tailwind
colors: {
  custom: {
    50: '#7b75c7',
    500: '#3240ae',
    950: '#000000',
  },
}
SCSS
$custom: #3240ae;
$custom-light: #7b75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3240ae",
  "rgb": {
    "r": 50,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 233.226,
    "s": 55.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43262,
    "c": 0.17427,
    "h": 271.4
  },
  "luminance": 0.07401
}

Semantic roles & 50–950 ramp

primary
#3240AE
secondary
#C4BB78
accent
#CE49DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3240AE

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

Preview Lab → · Contrast checker → · Palette generator →

#3240AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva