#5246BF#5246BF

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

Color values

HEX#5246BF
RGBrgb(82, 70, 191)
HSLhsl(246, 49%, 51%)
HSVhsv(246, 63%, 75%)
CMYKcmyk(57.1%, 63.4%, 0%, 25.1%)
CIE-LABlab(37.73, 39.05, -62.08)
CIE-LCHlch(37.73, 73.35, 302.17°)
OKLaboklab(47.95% 0.0364 -0.1784)
OKLCHoklch(47.95% 0.182 281.5)
XYZxyz(15.0709, 9.9348, 50.4036)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5246BF #B3BF46
analogous
#4676BF #5246BF #8E46BF
triadic
#5246BF #BF5246 #46BF52
tetradic
#5246BF #BF4676 #B3BF46 #46BF8E
square
#5246BF #BF4676 #B3BF46 #46BF8E
split-complementary
#5246BF #BF8E46 #76BF46
monochromatic
#2A2467 #3D3394 #5246BF #7D73CF #A7A1DE

Accessibility & contrast

On white

7.03
#5246BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5246BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5246BF
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5246BF#FFFFFF#000000##FFFFFF
##5246BF1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#0054BD
Tritanopia (blue-blind)
#16647C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5246bf;
/* rgb */ color: rgb(82, 70, 191);
/* oklch */ color: oklch(47.9% 0.182 281.5);
Tailwind
colors: {
  custom: {
    50: '#8d7ad3',
    500: '#5246bf',
    950: '#000000',
  },
}
SCSS
$custom: #5246bf;
$custom-light: #8d7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#5246bf",
  "rgb": {
    "r": 82,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 245.95,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47948,
    "c": 0.18212,
    "h": 281.5
  },
  "luminance": 0.09936
}

Semantic roles & 50–950 ramp

primary
#5246BF
secondary
#C6CB96
accent
#D850CB
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5246BF

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

Preview Lab → · Contrast checker → · Palette generator →

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