#5261F3#5261F3

#5261F3 is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 56.8% C 0.217 H 272.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5261F3
RGBrgb(82, 97, 243)
HSLhsl(234, 87%, 64%)
HSVhsv(234, 66%, 95%)
CMYKcmyk(66.3%, 60.1%, 0%, 4.7%)
CIE-LABlab(48.02, 39.75, -75.03)
CIE-LCHlch(48.02, 84.91, 297.91°)
OKLaboklab(56.77% 0.0109 -0.2163)
OKLCHoklch(56.77% 0.217 272.9)
XYZxyz(23.9266, 16.8121, 86.7608)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5261F3 #F3E452
analogous
#52B1F3 #5261F3 #9352F3
triadic
#5261F3 #F35261 #61F352
tetradic
#5261F3 #F352B1 #F3E452 #52F393
square
#5261F3 #F352B1 #F3E452 #52F393
split-complementary
#5261F3 #F39352 #B1F352
monochromatic
#0D1EBD #192DEF #5261F3 #8B95F7 #C4CAFB

Accessibility & contrast

On white

4.81
#5261F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#5261F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5261F3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5261F3#FFFFFF#000000##FFFFFF
##5261F31.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F8
Deuteranopia (green-blind)
#006BF0
Tritanopia (blue-blind)
#0086A1
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5261f3;
/* rgb */ color: rgb(82, 97, 243);
/* oklch */ color: oklch(56.8% 0.217 272.9);
Tailwind
colors: {
  custom: {
    50: '#948ef8',
    500: '#5261f3',
    950: '#000000',
  },
}
SCSS
$custom: #5261f3;
$custom-light: #948ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#5261f3",
  "rgb": {
    "r": 82,
    "g": 97,
    "b": 243
  },
  "hsl": {
    "h": 234.41,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56773,
    "c": 0.21659,
    "h": 272.9
  },
  "luminance": 0.16814
}

Semantic roles & 50–950 ramp

primary
#5261F3
secondary
#EDE7B4
accent
#CF02E4
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5261F3

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

Preview Lab → · Contrast checker → · Palette generator →

#5261F3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva