#3239A1#3239A1

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

Color values

HEX#3239A1
RGBrgb(50, 57, 161)
HSLhsl(236, 53%, 41%)
HSVhsv(236, 69%, 63%)
CMYKcmyk(68.9%, 64.6%, 0%, 36.9%)
CIE-LABlab(29.85, 32.00, -57.18)
CIE-LCHlch(29.85, 65.53, 299.24°)
OKLaboklab(40.83% 0.0101 -0.165)
OKLCHoklch(40.83% 0.165 273.5)
XYZxyz(9.2094, 6.1767, 34.4182)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3239A1 #A19A32
analogous
#3271A1 #3239A1 #6332A1
triadic
#3239A1 #A13239 #39A132
tetradic
#3239A1 #A13271 #A19A32 #32A163
square
#3239A1 #A13271 #A19A32 #32A163
split-complementary
#3239A1 #A16332 #71A132
monochromatic
#151844 #232872 #3239A1 #4A51C7 #787ED5

Accessibility & contrast

On white

9.39
#3239A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3239A1
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3239A1#FFFFFF#000000##FFFFFF
##3239A11.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#00419F
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3239a1;
/* rgb */ color: rgb(50, 57, 161);
/* oklch */ color: oklch(40.8% 0.165 273.5);
Tailwind
colors: {
  custom: {
    50: '#796fbe',
    500: '#3239a1',
    950: '#000000',
  },
}
SCSS
$custom: #3239a1;
$custom-light: #796fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3239a1",
  "rgb": {
    "r": 50,
    "g": 57,
    "b": 161
  },
  "hsl": {
    "h": 236.216,
    "s": 52.607,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40825,
    "c": 0.16533,
    "h": 273.5
  },
  "luminance": 0.06178
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3239A1

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

Preview Lab → · Contrast checker → · Palette generator →

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