#5273F3#5273F3

#5273F3 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.1% C 0.195 H 268.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5273F3
RGBrgb(82, 115, 243)
HSLhsl(228, 87%, 64%)
HSVhsv(228, 66%, 95%)
CMYKcmyk(66.3%, 52.7%, 0%, 4.7%)
CIE-LABlab(52.42, 28.73, -67.88)
CIE-LCHlch(52.42, 73.72, 292.94°)
OKLaboklab(60.06% -0.0037 -0.1951)
OKLCHoklch(60.06% 0.195 268.9)
XYZxyz(25.7825, 20.5239, 87.3794)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5273F3 #F3D252
analogous
#52C3F3 #5273F3 #8152F3
triadic
#5273F3 #F35273 #73F352
tetradic
#5273F3 #F352C3 #F3D252 #52F381
square
#5273F3 #F352C3 #F3D252 #52F381
split-complementary
#5273F3 #F38152 #C3F352
monochromatic
#0D31BD #1945EF #5273F3 #8BA1F7 #C4D0FB

Accessibility & contrast

On white

4.11
#5273F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5273F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5273F3
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5273F3#FFFFFF#000000##000000
##5273F31.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1985F7
Deuteranopia (green-blind)
#0076F0
Tritanopia (blue-blind)
#0091A8
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5273f3;
/* rgb */ color: rgb(82, 115, 243);
/* oklch */ color: oklch(60.1% 0.195 268.9);
Tailwind
colors: {
  custom: {
    50: '#939af8',
    500: '#5273f3',
    950: '#000000',
  },
}
SCSS
$custom: #5273f3;
$custom-light: #939af8;
$custom-dark: #000000;
JSON
{
  "hex": "#5273f3",
  "rgb": {
    "r": 82,
    "g": 115,
    "b": 243
  },
  "hsl": {
    "h": 227.702,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60059,
    "c": 0.19512,
    "h": 268.9
  },
  "luminance": 0.20526
}

Semantic roles & 50–950 ramp

primary
#5273F3
secondary
#EDE1B4
accent
#B502E4
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5273F3

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

Preview Lab → · Contrast checker → · Palette generator →

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