#3239A9#3239A9

#3239A9 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.6% C 0.176 H 273.1°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#3239A9
RGBrgb(50, 57, 169)
HSLhsl(236, 54%, 43%)
HSVhsv(236, 70%, 66%)
CMYKcmyk(70.4%, 66.3%, 0%, 33.7%)
CIE-LABlab(30.56, 34.84, -60.84)
CIE-LCHlch(30.56, 70.11, 299.80°)
OKLaboklab(41.56% 0.0095 -0.1757)
OKLCHoklch(41.56% 0.176 273.1)
XYZxyz(9.9376, 6.4680, 38.2532)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3239A9 #A9A232
analogous
#3274A9 #3239A9 #6732A9
triadic
#3239A9 #A93239 #39A932
tetradic
#3239A9 #A93274 #A9A232 #32A967
square
#3239A9 #A93274 #A9A232 #32A967
split-complementary
#3239A9 #A96732 #74A932
monochromatic
#16194B #24297A #3239A9 #4E55CB #7D82D9

Accessibility & contrast

On white

9.16
#3239A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3239A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3239A9
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3239A9#FFFFFF#000000##FFFFFF
##3239A91.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#0042A7
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3239a9;
/* rgb */ color: rgb(50, 57, 169);
/* oklch */ color: oklch(41.6% 0.176 273.1);
Tailwind
colors: {
  custom: {
    50: '#7a6fc4',
    500: '#3239a9',
    950: '#000000',
  },
}
SCSS
$custom: #3239a9;
$custom-light: #7a6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3239a9",
  "rgb": {
    "r": 50,
    "g": 57,
    "b": 169
  },
  "hsl": {
    "h": 236.471,
    "s": 54.338,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41562,
    "c": 0.17601,
    "h": 273.1
  },
  "luminance": 0.06469
}

Semantic roles & 50–950 ramp

primary
#3239A9
secondary
#C1BD76
accent
#D54ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3239A9

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

Preview Lab → · Contrast checker → · Palette generator →

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