#3239C4#3239C4

#3239C4 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.2% C 0.210 H 271.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#3239C4
RGBrgb(50, 57, 196)
HSLhsl(237, 59%, 48%)
HSVhsv(237, 74%, 77%)
CMYKcmyk(74.5%, 70.9%, 0%, 23.1%)
CIE-LABlab(33.11, 44.20, -72.66)
CIE-LCHlch(33.11, 85.05, 301.31°)
OKLaboklab(44.18% 0.0064 -0.2103)
OKLCHoklch(44.18% 0.21 271.8)
XYZxyz(12.7390, 7.5885, 53.0072)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3239C4 #C4BD32
analogous
#3282C4 #3239C4 #7432C4
triadic
#3239C4 #C43239 #39C432
tetradic
#3239C4 #C43282 #C4BD32 #32C474
square
#3239C4 #C43282 #C4BD32 #32C474
split-complementary
#3239C4 #C47432 #82C432
monochromatic
#191D62 #262B93 #3239C4 #5D63D6 #8E92E2

Accessibility & contrast

On white

8.34
#3239C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3239C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3239C4
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3239C4#FFFFFF#000000##FFFFFF
##3239C41.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)
#0055C8
Deuteranopia (green-blind)
#0047C1
Tritanopia (blue-blind)
#00607A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3239c4;
/* rgb */ color: rgb(50, 57, 196);
/* oklch */ color: oklch(44.2% 0.210 271.8);
Tailwind
colors: {
  custom: {
    50: '#8170d7',
    500: '#3239c4',
    950: '#000000',
  },
}
SCSS
$custom: #3239c4;
$custom-light: #8170d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3239c4",
  "rgb": {
    "r": 50,
    "g": 57,
    "b": 196
  },
  "hsl": {
    "h": 237.123,
    "s": 59.35,
    "l": 48.235
  },
  "oklch": {
    "l": 0.44177,
    "c": 0.21038,
    "h": 271.8
  },
  "luminance": 0.0759
}

Semantic roles & 50–950 ramp

primary
#3239C4
secondary
#CDC985
accent
#DB45E3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3239C4

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

Preview Lab → · Contrast checker → · Palette generator →

#3239C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva