#3242C2#3242C2

#3242C2 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.4% C 0.198 H 270.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#3242C2
RGBrgb(50, 66, 194)
HSLhsl(233, 59%, 48%)
HSVhsv(233, 74%, 76%)
CMYKcmyk(74.2%, 66%, 0%, 23.9%)
CIE-LABlab(34.94, 38.03, -68.48)
CIE-LCHlch(34.94, 78.34, 299.05°)
OKLaboklab(45.44% 0.0017 -0.1981)
OKLCHoklch(45.44% 0.198 270.5)
XYZxyz(12.9979, 8.4682, 51.9780)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3242C2 #C2B232
analogous
#328AC2 #3242C2 #6A32C2
triadic
#3242C2 #C23242 #42C232
tetradic
#3242C2 #C2328A #C2B232 #32C26A
square
#3242C2 #C2328A #C2B232 #32C26A
split-complementary
#3242C2 #C26A32 #8AC232
monochromatic
#192161 #253191 #3242C2 #5C6AD5 #8D96E2

Accessibility & contrast

On white

7.80
#3242C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3242C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3242C2
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3242C2#FFFFFF#000000##FFFFFF
##3242C21.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#004BC0
Tritanopia (blue-blind)
#00647C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3242c2;
/* rgb */ color: rgb(50, 66, 194);
/* oklch */ color: oklch(45.4% 0.198 270.5);
Tailwind
colors: {
  custom: {
    50: '#7f76d6',
    500: '#3242c2',
    950: '#000000',
  },
}
SCSS
$custom: #3242c2;
$custom-light: #7f76d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3242c2",
  "rgb": {
    "r": 50,
    "g": 66,
    "b": 194
  },
  "hsl": {
    "h": 233.333,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45443,
    "c": 0.19807,
    "h": 270.5
  },
  "luminance": 0.0847
}

Semantic roles & 50–950 ramp

primary
#3242C2
secondary
#CCC484
accent
#D146E2
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3242C2

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

Preview Lab → · Contrast checker → · Palette generator →

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