#3247A4#3247A4

#3247A4 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.152 H 269.5°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#3247A4
RGBrgb(50, 71, 164)
HSLhsl(229, 53%, 42%)
HSVhsv(229, 70%, 64%)
CMYKcmyk(69.5%, 56.7%, 0%, 35.7%)
CIE-LABlab(33.70, 23.91, -52.73)
CIE-LCHlch(33.70, 57.90, 294.39°)
OKLaboklab(43.75% -0.0014 -0.1518)
OKLCHoklch(43.75% 0.152 269.5)
XYZxyz(10.2672, 7.8639, 36.0916)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3247A4 #A48F32
analogous
#3280A4 #3247A4 #5632A4
triadic
#3247A4 #A43247 #47A432
tetradic
#3247A4 #A43280 #A48F32 #32A456
square
#3247A4 #A43280 #A48F32 #32A456
split-complementary
#3247A4 #A45632 #80A432
monochromatic
#151E46 #243375 #3247A4 #4B62C8 #7A8BD6

Accessibility & contrast

On white

8.16
#3247A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3247A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3247A4
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3247A4#FFFFFF#000000##FFFFFF
##3247A41.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3247a4;
/* rgb */ color: rgb(50, 71, 164);
/* oklch */ color: oklch(43.8% 0.152 269.5);
Tailwind
colors: {
  custom: {
    50: '#7879c0',
    500: '#3247a4',
    950: '#000000',
  },
}
SCSS
$custom: #3247a4;
$custom-light: #7879c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3247a4",
  "rgb": {
    "r": 50,
    "g": 71,
    "b": 164
  },
  "hsl": {
    "h": 228.947,
    "s": 53.271,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43751,
    "c": 0.1518,
    "h": 269.5
  },
  "luminance": 0.07865
}

Semantic roles & 50–950 ramp

primary
#3247A4
secondary
#BFB173
accent
#C24BDD
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3247A4

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

Preview Lab → · Contrast checker → · Palette generator →

#3247A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva