#3239A2#3239A2

#3239A2 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.9% C 0.167 H 273.5°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#3239A2
RGBrgb(50, 57, 162)
HSLhsl(236, 53%, 42%)
HSVhsv(236, 69%, 64%)
CMYKcmyk(69.1%, 64.8%, 0%, 36.5%)
CIE-LABlab(29.94, 32.36, -57.64)
CIE-LCHlch(29.94, 66.11, 299.31°)
OKLaboklab(40.92% 0.01 -0.1664)
OKLCHoklch(40.92% 0.167 273.5)
XYZxyz(9.2979, 6.2121, 34.8845)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3239A2 #A29B32
analogous
#3271A2 #3239A2 #6332A2
triadic
#3239A2 #A23239 #39A232
tetradic
#3239A2 #A23271 #A29B32 #32A263
square
#3239A2 #A23271 #A29B32 #32A263
split-complementary
#3239A2 #A26332 #71A232
monochromatic
#151844 #242973 #3239A2 #4A52C7 #797FD6

Accessibility & contrast

On white

9.36
#3239A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3239A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3239A2
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3239A2#FFFFFF#000000##FFFFFF
##3239A21.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#0041A0
Tritanopia (blue-blind)
#005468
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3239a2;
/* rgb */ color: rgb(50, 57, 162);
/* oklch */ color: oklch(40.9% 0.167 273.5);
Tailwind
colors: {
  custom: {
    50: '#796fbe',
    500: '#3239a2',
    950: '#000000',
  },
}
SCSS
$custom: #3239a2;
$custom-light: #796fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3239a2",
  "rgb": {
    "r": 50,
    "g": 57,
    "b": 162
  },
  "hsl": {
    "h": 236.25,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40916,
    "c": 0.16668,
    "h": 273.5
  },
  "luminance": 0.06213
}

Semantic roles & 50–950 ramp

primary
#3239A2
secondary
#BEB972
accent
#D34CDC
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3239A2

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

Preview Lab → · Contrast checker → · Palette generator →

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