#5246BE#5246BE

#5246BE is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.9% C 0.181 H 281.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#5246BE
RGBrgb(82, 70, 190)
HSLhsl(246, 48%, 51%)
HSVhsv(246, 63%, 75%)
CMYKcmyk(56.8%, 63.2%, 0%, 25.5%)
CIE-LABlab(37.65, 38.74, -61.63)
CIE-LCHlch(37.65, 72.79, 302.15°)
OKLaboklab(47.87% 0.0365 -0.1771)
OKLCHoklch(47.87% 0.181 281.6)
XYZxyz(14.9612, 9.8909, 49.8260)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5246BE #B2BE46
analogous
#4676BE #5246BE #8E46BE
triadic
#5246BE #BE5246 #46BE52
tetradic
#5246BE #BE4676 #B2BE46 #46BE8E
square
#5246BE #BE4676 #B2BE46 #46BE8E
split-complementary
#5246BE #BE8E46 #76BE46
monochromatic
#2A2466 #3D3493 #5246BE #7C73CE #A7A1DE

Accessibility & contrast

On white

7.05
#5246BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#5246BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5246BE
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5246BE#FFFFFF#000000##FFFFFF
##5246BE1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#0054BC
Tritanopia (blue-blind)
#18647B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5246be;
/* rgb */ color: rgb(82, 70, 190);
/* oklch */ color: oklch(47.9% 0.181 281.6);
Tailwind
colors: {
  custom: {
    50: '#8d7ad2',
    500: '#5246be',
    950: '#000000',
  },
}
SCSS
$custom: #5246be;
$custom-light: #8d7ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#5246be",
  "rgb": {
    "r": 82,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 246,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47865,
    "c": 0.18082,
    "h": 281.6
  },
  "luminance": 0.09892
}

Semantic roles & 50–950 ramp

primary
#5246BE
secondary
#C5CA95
accent
#D850CA
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5246BE

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

Preview Lab → · Contrast checker → · Palette generator →

#5246BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva