#3247A2#3247A2

#3247A2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.149 H 269.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#3247A2
RGBrgb(50, 71, 162)
HSLhsl(229, 53%, 42%)
HSVhsv(229, 69%, 64%)
CMYKcmyk(69.1%, 56.2%, 0%, 36.5%)
CIE-LABlab(33.55, 23.17, -51.77)
CIE-LCHlch(33.55, 56.72, 294.11°)
OKLaboklab(43.59% -0.0015 -0.149)
OKLCHoklch(43.59% 0.149 269.4)
XYZxyz(10.0880, 7.7922, 35.1478)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3247A2 #A28D32
analogous
#327FA2 #3247A2 #5532A2
triadic
#3247A2 #A23247 #47A232
tetradic
#3247A2 #A2327F #A28D32 #32A255
square
#3247A2 #A2327F #A28D32 #32A255
split-complementary
#3247A2 #A25532 #7FA232
monochromatic
#151E44 #243373 #3247A2 #4A62C7 #798AD6

Accessibility & contrast

On white

8.21
#3247A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3247A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3247A2
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3247A2#FFFFFF#000000##FFFFFF
##3247A21.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3247a2;
/* rgb */ color: rgb(50, 71, 162);
/* oklch */ color: oklch(43.6% 0.149 269.4);
Tailwind
colors: {
  custom: {
    50: '#7879be',
    500: '#3247a2',
    950: '#000000',
  },
}
SCSS
$custom: #3247a2;
$custom-light: #7879be;
$custom-dark: #000000;
JSON
{
  "hex": "#3247a2",
  "rgb": {
    "r": 50,
    "g": 71,
    "b": 162
  },
  "hsl": {
    "h": 228.75,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43589,
    "c": 0.14899,
    "h": 269.4
  },
  "luminance": 0.07793
}

Semantic roles & 50–950 ramp

primary
#3247A2
secondary
#BEB072
accent
#C14CDC
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3247A2

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

Preview Lab → · Contrast checker → · Palette generator →

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