#3247B2#3247B2

#3247B2 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.9% C 0.171 H 269.6°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#3247B2
RGBrgb(50, 71, 178)
HSLhsl(230, 56%, 45%)
HSVhsv(230, 72%, 70%)
CMYKcmyk(71.9%, 60.1%, 0%, 30.2%)
CIE-LABlab(34.80, 29.07, -59.29)
CIE-LCHlch(34.80, 66.03, 296.12°)
OKLaboklab(44.92% -0.0011 -0.1711)
OKLCHoklch(44.92% 0.171 269.6)
XYZxyz(11.6018, 8.3978, 43.1203)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3247B2 #B29D32
analogous
#3287B2 #3247B2 #5D32B2
triadic
#3247B2 #B23247 #47B232
tetradic
#3247B2 #B23287 #B29D32 #32B25D
square
#3247B2 #B23287 #B29D32 #32B25D
split-complementary
#3247B2 #B25D32 #87B232
monochromatic
#172152 #253482 #3247B2 #5367CF #8291DC

Accessibility & contrast

On white

7.84
#3247B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3247B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3247B2
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3247B2#FFFFFF#000000##FFFFFF
##3247B21.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3247b2;
/* rgb */ color: rgb(50, 71, 178);
/* oklch */ color: oklch(44.9% 0.171 269.6);
Tailwind
colors: {
  custom: {
    50: '#7b7aca',
    500: '#3247b2',
    950: '#000000',
  },
}
SCSS
$custom: #3247b2;
$custom-light: #7b7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#3247b2",
  "rgb": {
    "r": 50,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 230.156,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44916,
    "c": 0.17108,
    "h": 269.6
  },
  "luminance": 0.08399
}

Semantic roles & 50–950 ramp

primary
#3247B2
secondary
#C5B97B
accent
#C748DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3247B2

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

Preview Lab → · Contrast checker → · Palette generator →

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