#3242AE#3242AE

#3242AE is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.6% C 0.172 H 270.9°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#3242AE
RGBrgb(50, 66, 174)
HSLhsl(232, 55%, 44%)
HSVhsv(232, 71%, 68%)
CMYKcmyk(71.3%, 62.1%, 0%, 31.8%)
CIE-LABlab(33.20, 30.86, -59.52)
CIE-LCHlch(33.20, 67.05, 297.41°)
OKLaboklab(43.63% 0.0027 -0.1718)
OKLCHoklch(43.63% 0.172 270.9)
XYZxyz(10.9010, 7.6294, 40.9343)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3242AE #AE9E32
analogous
#3280AE #3242AE #6032AE
triadic
#3242AE #AE3242 #42AE32
tetradic
#3242AE #AE3280 #AE9E32 #32AE60
square
#3242AE #AE3280 #AE9E32 #32AE60
split-complementary
#3242AE #AE6032 #80AE32
monochromatic
#171E4F #24307E #3242AE #5060CD #808CDA

Accessibility & contrast

On white

8.31
#3242AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3242AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3242AE
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3242AE#FFFFFF#000000##FFFFFF
##3242AE1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3242ae;
/* rgb */ color: rgb(50, 66, 174);
/* oklch */ color: oklch(43.6% 0.172 270.9);
Tailwind
colors: {
  custom: {
    50: '#7b76c7',
    500: '#3242ae',
    950: '#000000',
  },
}
SCSS
$custom: #3242ae;
$custom-light: #7b76c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3242ae",
  "rgb": {
    "r": 50,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 232.258,
    "s": 55.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43629,
    "c": 0.17183,
    "h": 270.9
  },
  "luminance": 0.07631
}

Semantic roles & 50–950 ramp

primary
#3242AE
secondary
#C4BA78
accent
#CB49DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3242AE

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

Preview Lab → · Contrast checker → · Palette generator →

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