#5247BF#5247BF

#5247BF is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.1% C 0.181 H 281.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#5247BF
RGBrgb(82, 71, 191)
HSLhsl(246, 48%, 51%)
HSVhsv(246, 63%, 75%)
CMYKcmyk(57.1%, 62.8%, 0%, 25.1%)
CIE-LABlab(37.95, 38.45, -61.72)
CIE-LCHlch(37.95, 72.72, 301.93°)
OKLaboklab(48.11% 0.0354 -0.1774)
OKLCHoklch(48.11% 0.181 281.3)
XYZxyz(15.1340, 10.0609, 50.4246)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5247BF #B4BF47
analogous
#4778BF #5247BF #8E47BF
triadic
#5247BF #BF5247 #47BF52
tetradic
#5247BF #BF4778 #B4BF47 #47BF8E
square
#5247BF #BF4778 #B4BF47 #47BF8E
split-complementary
#5247BF #BF8E47 #78BF47
monochromatic
#2A2468 #3D3495 #5247BF #7D74CF #A7A2DF

Accessibility & contrast

On white

6.97
#5247BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5247BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5247BF
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5247BF#FFFFFF#000000##FFFFFF
##5247BF1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#0055BD
Tritanopia (blue-blind)
#16657C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5247bf;
/* rgb */ color: rgb(82, 71, 191);
/* oklch */ color: oklch(48.1% 0.181 281.3);
Tailwind
colors: {
  custom: {
    50: '#8d7bd3',
    500: '#5247bf',
    950: '#000000',
  },
}
SCSS
$custom: #5247bf;
$custom-light: #8d7bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5247bf",
  "rgb": {
    "r": 82,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 245.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48113,
    "c": 0.18087,
    "h": 281.3
  },
  "luminance": 0.10062
}

Semantic roles & 50–950 ramp

primary
#5247BF
secondary
#C7CB96
accent
#D850CB
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5247BF

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

Preview Lab → · Contrast checker → · Palette generator →

#5247BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva