#3247A8#3247A8

#3247A8 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.1% C 0.157 H 269.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#3247A8
RGBrgb(50, 71, 168)
HSLhsl(229, 54%, 43%)
HSVhsv(229, 70%, 66%)
CMYKcmyk(70.2%, 57.7%, 0%, 34.1%)
CIE-LABlab(34.01, 25.39, -54.63)
CIE-LCHlch(34.01, 60.24, 294.93°)
OKLaboklab(44.08% -0.0012 -0.1574)
OKLCHoklch(44.08% 0.157 269.6)
XYZxyz(10.6341, 8.0107, 38.0240)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3247A8 #A89332
analogous
#3282A8 #3247A8 #5832A8
triadic
#3247A8 #A83247 #47A832
tetradic
#3247A8 #A83282 #A89332 #32A858
square
#3247A8 #A83282 #A89332 #32A858
split-complementary
#3247A8 #A85832 #82A832
monochromatic
#161F4A #243379 #3247A8 #4D63CA #7C8DD8

Accessibility & contrast

On white

8.07
#3247A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3247A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3247A8
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3247A8#FFFFFF#000000##FFFFFF
##3247A81.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#004BA6
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3247a8;
/* rgb */ color: rgb(50, 71, 168);
/* oklch */ color: oklch(44.1% 0.157 269.6);
Tailwind
colors: {
  custom: {
    50: '#7979c3',
    500: '#3247a8',
    950: '#000000',
  },
}
SCSS
$custom: #3247a8;
$custom-light: #7979c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3247a8",
  "rgb": {
    "r": 50,
    "g": 71,
    "b": 168
  },
  "hsl": {
    "h": 229.322,
    "s": 54.128,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44077,
    "c": 0.15737,
    "h": 269.6
  },
  "luminance": 0.08012
}

Semantic roles & 50–950 ramp

primary
#3247A8
secondary
#C1B375
accent
#C34ADD
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3247A8

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

Preview Lab → · Contrast checker → · Palette generator →

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