#3239AB#3239AB

#3239AB is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.7% C 0.179 H 273.0°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#3239AB
RGBrgb(50, 57, 171)
HSLhsl(237, 55%, 43%)
HSVhsv(237, 71%, 67%)
CMYKcmyk(70.8%, 66.7%, 0%, 32.9%)
CIE-LABlab(30.74, 35.55, -61.74)
CIE-LCHlch(30.74, 71.25, 299.93°)
OKLaboklab(41.75% 0.0093 -0.1784)
OKLCHoklch(41.75% 0.179 273)
XYZxyz(10.1267, 6.5437, 39.2495)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3239AB #ABA432
analogous
#3275AB #3239AB #6732AB
triadic
#3239AB #AB3239 #39AB32
tetradic
#3239AB #AB3275 #ABA432 #32AB67
square
#3239AB #AB3275 #ABA432 #32AB67
split-complementary
#3239AB #AB6732 #75AB32
monochromatic
#16194C #24297C #3239AB #4F56CB #7E83D9

Accessibility & contrast

On white

9.09
#3239AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3239AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3239AB
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3239AB#FFFFFF#000000##FFFFFF
##3239AB1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0043A9
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3239ab;
/* rgb */ color: rgb(50, 57, 171);
/* oklch */ color: oklch(41.7% 0.179 273.0);
Tailwind
colors: {
  custom: {
    50: '#7b70c5',
    500: '#3239ab',
    950: '#000000',
  },
}
SCSS
$custom: #3239ab;
$custom-light: #7b70c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3239ab",
  "rgb": {
    "r": 50,
    "g": 57,
    "b": 171
  },
  "hsl": {
    "h": 236.529,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41749,
    "c": 0.17863,
    "h": 273
  },
  "luminance": 0.06545
}

Semantic roles & 50–950 ramp

primary
#3239AB
secondary
#C2BE77
accent
#D64ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3239AB

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

Preview Lab → · Contrast checker → · Palette generator →

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