#5772F3#5772F3

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

Color values

HEX#5772F3
RGBrgb(87, 114, 243)
HSLhsl(230, 87%, 65%)
HSVhsv(230, 64%, 95%)
CMYKcmyk(64.2%, 53.1%, 0%, 4.7%)
CIE-LABlab(52.43, 30.11, -67.86)
CIE-LCHlch(52.43, 74.24, 293.93°)
OKLaboklab(60.13% 0.0019 -0.1949)
OKLCHoklch(60.13% 0.195 270.6)
XYZxyz(26.1200, 20.5296, 87.3627)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5772F3 #F3D857
analogous
#57C0F3 #5772F3 #8A57F3
triadic
#5772F3 #F35772 #72F357
tetradic
#5772F3 #F357C0 #F3D857 #57F38A
square
#5772F3 #F357C0 #F3D857 #57F38A
split-complementary
#5772F3 #F38A57 #C0F357
monochromatic
#0E2DC2 #1E42EF #5772F3 #90A2F7 #C9D2FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5772F3#FFFFFF#000000##000000
##5772F31.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)
#1684F8
Deuteranopia (green-blind)
#0076F0
Tritanopia (blue-blind)
#0091A8
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5772f3;
/* rgb */ color: rgb(87, 114, 243);
/* oklch */ color: oklch(60.1% 0.195 270.6);
Tailwind
colors: {
  custom: {
    50: '#969af8',
    500: '#5772f3',
    950: '#000000',
  },
}
SCSS
$custom: #5772f3;
$custom-light: #969af8;
$custom-dark: #000000;
JSON
{
  "hex": "#5772f3",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 243
  },
  "hsl": {
    "h": 229.615,
    "s": 86.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60133,
    "c": 0.19494,
    "h": 270.6
  },
  "luminance": 0.20532
}

Semantic roles & 50–950 ramp

primary
#5772F3
secondary
#EEE4B8
accent
#BC02E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5772F3

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

Preview Lab → · Contrast checker → · Palette generator →

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