#3239B6#3239B6

#3239B6 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.8% C 0.193 H 272.4°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#3239B6
RGBrgb(50, 57, 182)
HSLhsl(237, 57%, 45%)
HSVhsv(237, 73%, 71%)
CMYKcmyk(72.5%, 68.7%, 0%, 28.6%)
CIE-LABlab(31.76, 39.40, -66.63)
CIE-LCHlch(31.76, 77.40, 300.59°)
OKLaboklab(42.8% 0.0082 -0.1927)
OKLCHoklch(42.8% 0.193 272.4)
XYZxyz(11.2192, 6.9806, 45.0030)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3239B6 #B6AF32
analogous
#327BB6 #3239B6 #6D32B6
triadic
#3239B6 #B63239 #39B632
tetradic
#3239B6 #B6327B #B6AF32 #32B66D
square
#3239B6 #B6327B #B6AF32 #32B66D
split-complementary
#3239B6 #B66D32 #7BB632
monochromatic
#181B56 #252A86 #3239B6 #555BD0 #858ADD

Accessibility & contrast

On white

8.76
#3239B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3239B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3239B6
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3239B6#FFFFFF#000000##FFFFFF
##3239B61.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0044B4
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3239b6;
/* rgb */ color: rgb(50, 57, 182);
/* oklch */ color: oklch(42.8% 0.193 272.4);
Tailwind
colors: {
  custom: {
    50: '#7d70cd',
    500: '#3239b6',
    950: '#000000',
  },
}
SCSS
$custom: #3239b6;
$custom-light: #7d70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3239b6",
  "rgb": {
    "r": 50,
    "g": 57,
    "b": 182
  },
  "hsl": {
    "h": 236.818,
    "s": 56.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42798,
    "c": 0.19285,
    "h": 272.4
  },
  "luminance": 0.06982
}

Semantic roles & 50–950 ramp

primary
#3239B6
secondary
#C7C37D
accent
#D848E0
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3239B6

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

Preview Lab → · Contrast checker → · Palette generator →

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