#3239A3#3239A3

#3239A3 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.0% C 0.168 H 273.4°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#3239A3
RGBrgb(50, 57, 163)
HSLhsl(236, 53%, 42%)
HSVhsv(236, 69%, 64%)
CMYKcmyk(69.3%, 65%, 0%, 36.1%)
CIE-LABlab(30.03, 32.72, -58.10)
CIE-LCHlch(30.03, 66.68, 299.38°)
OKLaboklab(41.01% 0.01 -0.1677)
OKLCHoklch(41.01% 0.168 273.4)
XYZxyz(9.3872, 6.2478, 35.3545)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3239A3 #A39C32
analogous
#3272A3 #3239A3 #6432A3
triadic
#3239A3 #A33239 #39A332
tetradic
#3239A3 #A33272 #A39C32 #32A364
square
#3239A3 #A33272 #A39C32 #32A364
split-complementary
#3239A3 #A36432 #72A332
monochromatic
#151845 #242974 #3239A3 #4B52C8 #797FD6

Accessibility & contrast

On white

9.33
#3239A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3239A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3239A3
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3239A3#FFFFFF#000000##FFFFFF
##3239A31.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#0042A1
Tritanopia (blue-blind)
#005468
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3239a3;
/* rgb */ color: rgb(50, 57, 163);
/* oklch */ color: oklch(41.0% 0.168 273.4);
Tailwind
colors: {
  custom: {
    50: '#796fbf',
    500: '#3239a3',
    950: '#000000',
  },
}
SCSS
$custom: #3239a3;
$custom-light: #796fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3239a3",
  "rgb": {
    "r": 50,
    "g": 57,
    "b": 163
  },
  "hsl": {
    "h": 236.283,
    "s": 53.052,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41007,
    "c": 0.16803,
    "h": 273.4
  },
  "luminance": 0.06249
}

Semantic roles & 50–950 ramp

primary
#3239A3
secondary
#BFBA72
accent
#D34BDC
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3239A3

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

Preview Lab → · Contrast checker → · Palette generator →

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