#5291F3#5291F3

#5291F3 is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.1% C 0.160 H 259.0°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5291F3
RGBrgb(82, 145, 243)
HSLhsl(217, 87%, 64%)
HSVhsv(217, 66%, 95%)
CMYKcmyk(66.3%, 40.3%, 0%, 4.7%)
CIE-LABlab(60.35, 10.50, -55.16)
CIE-LCHlch(60.35, 56.15, 280.77°)
OKLaboklab(66.12% -0.0307 -0.1572)
OKLCHoklch(66.12% 0.16 259)
XYZxyz(29.7769, 28.5127, 88.7109)
Luminance0.2852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5291F3 #F3B452
analogous
#52E1F3 #5291F3 #6352F3
triadic
#5291F3 #F35291 #91F352
tetradic
#5291F3 #F352E1 #F3B452 #52F363
square
#5291F3 #F352E1 #F3B452 #52F363
split-complementary
#5291F3 #F36352 #E1F352
monochromatic
#0D52BD #196DEF #5291F3 #8BB5F7 #C4DAFB

Accessibility & contrast

On white

3.13
#5291F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#5291F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5291F3
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5291F3#FFFFFF#000000##000000
##5291F31.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#649AF7
Deuteranopia (green-blind)
#4B8BF1
Tritanopia (blue-blind)
#00A8B6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5291f3;
/* rgb */ color: rgb(82, 145, 243);
/* oklch */ color: oklch(66.1% 0.160 259.0);
Tailwind
colors: {
  custom: {
    50: '#92b0f7',
    500: '#5291f3',
    950: '#000000',
  },
}
SCSS
$custom: #5291f3;
$custom-light: #92b0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5291f3",
  "rgb": {
    "r": 82,
    "g": 145,
    "b": 243
  },
  "hsl": {
    "h": 216.522,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66123,
    "c": 0.16022,
    "h": 259
  },
  "luminance": 0.28516
}

Semantic roles & 50–950 ramp

primary
#5291F3
secondary
#EDD7B4
accent
#8B02E4
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5291F3

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

Preview Lab → · Contrast checker → · Palette generator →

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