#3242A2#3242A2

#3242A2 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.6% C 0.155 H 271.0°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#3242A2
RGBrgb(50, 66, 162)
HSLhsl(231, 53%, 42%)
HSVhsv(231, 69%, 64%)
CMYKcmyk(69.1%, 59.3%, 0%, 36.5%)
CIE-LABlab(32.22, 26.49, -53.93)
CIE-LCHlch(32.22, 60.08, 296.16°)
OKLaboklab(42.6% 0.0028 -0.1554)
OKLCHoklch(42.6% 0.155 271)
XYZxyz(9.7830, 7.1822, 35.0462)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3242A2 #A29232
analogous
#327AA2 #3242A2 #5A32A2
triadic
#3242A2 #A23242 #42A232
tetradic
#3242A2 #A2327A #A29232 #32A25A
square
#3242A2 #A2327A #A29232 #32A25A
split-complementary
#3242A2 #A25A32 #7AA232
monochromatic
#151C44 #242F73 #3242A2 #4A5CC7 #7986D6

Accessibility & contrast

On white

8.62
#3242A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3242A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3242A2
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3242A2#FFFFFF#000000##FFFFFF
##3242A21.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#005A6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3242a2;
/* rgb */ color: rgb(50, 66, 162);
/* oklch */ color: oklch(42.6% 0.155 271.0);
Tailwind
colors: {
  custom: {
    50: '#7876be',
    500: '#3242a2',
    950: '#000000',
  },
}
SCSS
$custom: #3242a2;
$custom-light: #7876be;
$custom-dark: #000000;
JSON
{
  "hex": "#3242a2",
  "rgb": {
    "r": 50,
    "g": 66,
    "b": 162
  },
  "hsl": {
    "h": 231.429,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42596,
    "c": 0.15542,
    "h": 271
  },
  "luminance": 0.07183
}

Semantic roles & 50–950 ramp

primary
#3242A2
secondary
#BEB372
accent
#C84CDC
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3242A2

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

Preview Lab → · Contrast checker → · Palette generator →

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