#5262F3#5262F3

#5262F3 is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 56.9% C 0.215 H 272.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5262F3
RGBrgb(82, 98, 243)
HSLhsl(234, 87%, 64%)
HSVhsv(234, 66%, 95%)
CMYKcmyk(66.3%, 59.7%, 0%, 4.7%)
CIE-LABlab(48.26, 39.14, -74.65)
CIE-LCHlch(48.26, 84.29, 297.67°)
OKLaboklab(56.95% 0.0101 -0.2152)
OKLCHoklch(56.95% 0.215 272.7)
XYZxyz(24.0196, 16.9981, 86.7918)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5262F3 #F3E352
analogous
#52B2F3 #5262F3 #9252F3
triadic
#5262F3 #F35262 #62F352
tetradic
#5262F3 #F352B2 #F3E352 #52F392
square
#5262F3 #F352B2 #F3E352 #52F392
split-complementary
#5262F3 #F39252 #B2F352
monochromatic
#0D1FBD #192EEF #5262F3 #8B96F7 #C4CAFB

Accessibility & contrast

On white

4.77
#5262F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#5262F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5262F3
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5262F3#FFFFFF#000000##FFFFFF
##5262F31.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF8
Deuteranopia (green-blind)
#006BF0
Tritanopia (blue-blind)
#0086A1
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5262f3;
/* rgb */ color: rgb(82, 98, 243);
/* oklch */ color: oklch(56.9% 0.215 272.7);
Tailwind
colors: {
  custom: {
    50: '#948ef8',
    500: '#5262f3',
    950: '#000000',
  },
}
SCSS
$custom: #5262f3;
$custom-light: #948ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#5262f3",
  "rgb": {
    "r": 82,
    "g": 98,
    "b": 243
  },
  "hsl": {
    "h": 234.037,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56947,
    "c": 0.21542,
    "h": 272.7
  },
  "luminance": 0.17
}

Semantic roles & 50–950 ramp

primary
#5262F3
secondary
#EDE7B4
accent
#CD02E4
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5262F3

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

Preview Lab → · Contrast checker → · Palette generator →

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