#3239B4#3239B4

#3239B4 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.6% C 0.190 H 272.5°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#3239B4
RGBrgb(50, 57, 180)
HSLhsl(237, 57%, 45%)
HSVhsv(237, 72%, 71%)
CMYKcmyk(72.2%, 68.3%, 0%, 29.4%)
CIE-LABlab(31.57, 38.70, -65.75)
CIE-LCHlch(31.57, 76.30, 300.48°)
OKLaboklab(42.61% 0.0084 -0.1901)
OKLCHoklch(42.61% 0.19 272.5)
XYZxyz(11.0140, 6.8985, 43.9223)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3239B4 #B4AD32
analogous
#327AB4 #3239B4 #6C32B4
triadic
#3239B4 #B43239 #39B432
tetradic
#3239B4 #B4327A #B4AD32 #32B46C
square
#3239B4 #B4327A #B4AD32 #32B46C
split-complementary
#3239B4 #B46C32 #7AB432
monochromatic
#171B54 #252A84 #3239B4 #545ACF #8488DD

Accessibility & contrast

On white

8.82
#3239B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3239B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3239B4
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3239B4#FFFFFF#000000##FFFFFF
##3239B41.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#0044B2
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3239b4;
/* rgb */ color: rgb(50, 57, 180);
/* oklch */ color: oklch(42.6% 0.190 272.5);
Tailwind
colors: {
  custom: {
    50: '#7d70cc',
    500: '#3239b4',
    950: '#000000',
  },
}
SCSS
$custom: #3239b4;
$custom-light: #7d70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3239b4",
  "rgb": {
    "r": 50,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 236.769,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42605,
    "c": 0.1903,
    "h": 272.5
  },
  "luminance": 0.069
}

Semantic roles & 50–950 ramp

primary
#3239B4
secondary
#C6C27C
accent
#D848E0
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3239B4

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

Preview Lab → · Contrast checker → · Palette generator →

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