#5244BF#5244BF

#5244BF is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.6% C 0.185 H 281.9°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#5244BF
RGBrgb(82, 68, 191)
HSLhsl(247, 49%, 51%)
HSVhsv(247, 64%, 75%)
CMYKcmyk(57.1%, 64.4%, 0%, 25.1%)
CIE-LABlab(37.28, 40.24, -62.81)
CIE-LCHlch(37.28, 74.60, 302.65°)
OKLaboklab(47.62% 0.0382 -0.1806)
OKLCHoklch(47.62% 0.185 281.9)
XYZxyz(14.9478, 9.6887, 50.3625)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5244BF #B1BF44
analogous
#4473BF #5244BF #8F44BF
triadic
#5244BF #BF5244 #44BF52
tetradic
#5244BF #BF4473 #B1BF44 #44BF8F
square
#5244BF #BF4473 #B1BF44 #44BF8F
split-complementary
#5244BF #BF8F44 #73BF44
monochromatic
#2A2366 #3D3293 #5244BF #7C72CF #A69FDE

Accessibility & contrast

On white

7.15
#5244BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#5244BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5244BF
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5244BF#FFFFFF#000000##FFFFFF
##5244BF1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#0053BD
Tritanopia (blue-blind)
#17637B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5244bf;
/* rgb */ color: rgb(82, 68, 191);
/* oklch */ color: oklch(47.6% 0.185 281.9);
Tailwind
colors: {
  custom: {
    50: '#8d79d3',
    500: '#5244bf',
    950: '#000000',
  },
}
SCSS
$custom: #5244bf;
$custom-light: #8d79d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5244bf",
  "rgb": {
    "r": 82,
    "g": 68,
    "b": 191
  },
  "hsl": {
    "h": 246.829,
    "s": 49.004,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47622,
    "c": 0.1846,
    "h": 281.9
  },
  "luminance": 0.0969
}

Semantic roles & 50–950 ramp

primary
#5244BF
secondary
#C4CB94
accent
#D94FC9
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5244BF

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

Preview Lab → · Contrast checker → · Palette generator →

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