#3239A7#3239A7

#3239A7 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.4% C 0.173 H 273.2°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#3239A7
RGBrgb(50, 57, 167)
HSLhsl(236, 54%, 43%)
HSVhsv(236, 70%, 65%)
CMYKcmyk(70.1%, 65.9%, 0%, 34.5%)
CIE-LABlab(30.38, 34.14, -59.93)
CIE-LCHlch(30.38, 68.97, 299.66°)
OKLaboklab(41.38% 0.0097 -0.1731)
OKLCHoklch(41.38% 0.173 273.2)
XYZxyz(9.7512, 6.3935, 37.2719)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3239A7 #A7A032
analogous
#3274A7 #3239A7 #6532A7
triadic
#3239A7 #A73239 #39A732
tetradic
#3239A7 #A73274 #A7A032 #32A765
square
#3239A7 #A73274 #A7A032 #32A765
split-complementary
#3239A7 #A76532 #74A732
monochromatic
#161949 #242978 #3239A7 #4D54CA #7C81D8

Accessibility & contrast

On white

9.22
#3239A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3239A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3239A7
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3239A7#FFFFFF#000000##FFFFFF
##3239A71.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#00566B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3239a7;
/* rgb */ color: rgb(50, 57, 167);
/* oklch */ color: oklch(41.4% 0.173 273.2);
Tailwind
colors: {
  custom: {
    50: '#7a6fc2',
    500: '#3239a7',
    950: '#000000',
  },
}
SCSS
$custom: #3239a7;
$custom-light: #7a6fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#3239a7",
  "rgb": {
    "r": 50,
    "g": 57,
    "b": 167
  },
  "hsl": {
    "h": 236.41,
    "s": 53.917,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41376,
    "c": 0.17336,
    "h": 273.2
  },
  "luminance": 0.06394
}

Semantic roles & 50–950 ramp

primary
#3239A7
secondary
#C0BC74
accent
#D54BDD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3239A7

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

Preview Lab → · Contrast checker → · Palette generator →

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