#3239B2#3239B2

#3239B2 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.4% C 0.188 H 272.6°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#3239B2
RGBrgb(50, 57, 178)
HSLhsl(237, 56%, 45%)
HSVhsv(237, 72%, 70%)
CMYKcmyk(71.9%, 68%, 0%, 30.2%)
CIE-LABlab(31.39, 38.01, -64.87)
CIE-LCHlch(31.39, 75.18, 300.37°)
OKLaboklab(42.41% 0.0086 -0.1875)
OKLCHoklch(42.41% 0.188 272.6)
XYZxyz(10.8117, 6.8176, 42.8570)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3239B2 #B2AB32
analogous
#3279B2 #3239B2 #6B32B2
triadic
#3239B2 #B23239 #39B232
tetradic
#3239B2 #B23279 #B2AB32 #32B26B
square
#3239B2 #B23279 #B2AB32 #32B26B
split-complementary
#3239B2 #B26B32 #79B232
monochromatic
#171A52 #252A82 #3239B2 #5359CF #8287DC

Accessibility & contrast

On white

8.88
#3239B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3239B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3239B2
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3239B2#FFFFFF#000000##FFFFFF
##3239B21.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3239b2;
/* rgb */ color: rgb(50, 57, 178);
/* oklch */ color: oklch(42.4% 0.188 272.6);
Tailwind
colors: {
  custom: {
    50: '#7c70ca',
    500: '#3239b2',
    950: '#000000',
  },
}
SCSS
$custom: #3239b2;
$custom-light: #7c70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3239b2",
  "rgb": {
    "r": 50,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 236.719,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42413,
    "c": 0.18773,
    "h": 272.6
  },
  "luminance": 0.06819
}

Semantic roles & 50–950 ramp

primary
#3239B2
secondary
#C5C17B
accent
#D748DF
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3239B2

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

Preview Lab → · Contrast checker → · Palette generator →

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