#3242AD#3242AD

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

Color values

HEX#3242AD
RGBrgb(50, 66, 173)
HSLhsl(232, 55%, 44%)
HSVhsv(232, 71%, 68%)
CMYKcmyk(71.1%, 61.8%, 0%, 32.2%)
CIE-LABlab(33.12, 30.50, -59.06)
CIE-LCHlch(33.12, 66.47, 297.31°)
OKLaboklab(43.54% 0.0028 -0.1705)
OKLCHoklch(43.54% 0.17 270.9)
XYZxyz(10.8039, 7.5906, 40.4228)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3242AD #AD9D32
analogous
#327FAD #3242AD #5F32AD
triadic
#3242AD #AD3242 #42AD32
tetradic
#3242AD #AD327F #AD9D32 #32AD5F
square
#3242AD #AD327F #AD9D32 #32AD5F
split-complementary
#3242AD #AD5F32 #7FAD32
monochromatic
#171E4E #24307E #3242AD #5060CC #7F8BDA

Accessibility & contrast

On white

8.34
#3242AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3242AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3242AD
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3242AD#FFFFFF#000000##FFFFFF
##3242AD1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3242ad;
/* rgb */ color: rgb(50, 66, 173);
/* oklch */ color: oklch(43.5% 0.170 270.9);
Tailwind
colors: {
  custom: {
    50: '#7b76c6',
    500: '#3242ad',
    950: '#000000',
  },
}
SCSS
$custom: #3242ad;
$custom-light: #7b76c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3242ad",
  "rgb": {
    "r": 50,
    "g": 66,
    "b": 173
  },
  "hsl": {
    "h": 232.195,
    "s": 55.157,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43542,
    "c": 0.17048,
    "h": 270.9
  },
  "luminance": 0.07592
}

Semantic roles & 50–950 ramp

primary
#3242AD
secondary
#C3B978
accent
#CB49DE
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3242AD

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

Preview Lab → · Contrast checker → · Palette generator →

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