#3239CF#3239CF

#3239CF is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.3% C 0.224 H 271.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#3239CF
RGBrgb(50, 57, 207)
HSLhsl(237, 62%, 50%)
HSVhsv(237, 76%, 81%)
CMYKcmyk(75.8%, 72.5%, 0%, 18.8%)
CIE-LABlab(34.21, 47.89, -77.26)
CIE-LCHlch(34.21, 90.90, 301.79°)
OKLaboklab(45.29% 0.0049 -0.2237)
OKLCHoklch(45.29% 0.224 271.2)
XYZxyz(14.0372, 8.1078, 59.8446)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3239CF #CFC832
analogous
#3287CF #3239CF #7A32CF
triadic
#3239CF #CF3239 #39CF32
tetradic
#3239CF #CF3287 #CFC832 #32CF7A
square
#3239CF #CF3287 #CFC832 #32CF7A
split-complementary
#3239CF #CF7A32 #87CF32
monochromatic
#1A1D6D #252B9F #3239CF #6469DB #9599E6

Accessibility & contrast

On white

8.01
#3239CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3239CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3239CF
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3239CF#FFFFFF#000000##FFFFFF
##3239CF1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D3
Deuteranopia (green-blind)
#0049CC
Tritanopia (blue-blind)
#006481
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3239cf;
/* rgb */ color: rgb(50, 57, 207);
/* oklch */ color: oklch(45.3% 0.224 271.2);
Tailwind
colors: {
  custom: {
    50: '#8371df',
    500: '#3239cf',
    950: '#000000',
  },
}
SCSS
$custom: #3239cf;
$custom-light: #8371df;
$custom-dark: #000000;
JSON
{
  "hex": "#3239cf",
  "rgb": {
    "r": 50,
    "g": 57,
    "b": 207
  },
  "hsl": {
    "h": 237.325,
    "s": 62.055,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45288,
    "c": 0.22374,
    "h": 271.2
  },
  "luminance": 0.08109
}

Semantic roles & 50–950 ramp

primary
#3239CF
secondary
#D1CE8B
accent
#DE43E5
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3239CF

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

Preview Lab → · Contrast checker → · Palette generator →

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