#5790F0#5790F0

#5790F0 is a light, vivid blue. Relative luminance 0.283; OKLCH L 66.0% C 0.156 H 260.2°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5790F0
RGBrgb(87, 144, 240)
HSLhsl(218, 84%, 64%)
HSVhsv(218, 64%, 94%)
CMYKcmyk(63.7%, 40%, 0%, 5.9%)
CIE-LABlab(60.12, 10.89, -53.85)
CIE-LCHlch(60.12, 54.94, 281.43°)
OKLaboklab(65.95% -0.0264 -0.1533)
OKLCHoklch(65.95% 0.156 260.2)
XYZxyz(29.6263, 28.2612, 86.3148)
Luminance0.2826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5790F0 #F0B757
analogous
#57DDF0 #5790F0 #6B57F0
triadic
#5790F0 #F05790 #90F057
tetradic
#5790F0 #F057DD #F0B757 #57F06B
square
#5790F0 #F057DD #F0B757 #57F06B
split-complementary
#5790F0 #F06B57 #DDF057
monochromatic
#1150BC #1F6BEB #5790F0 #8FB5F5 #C7DAFA

Accessibility & contrast

On white

3.16
#5790F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#5790F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5790F0
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5790F0#FFFFFF#000000##000000
##5790F01.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6599F4
Deuteranopia (green-blind)
#4E8AEE
Tritanopia (blue-blind)
#00A6B4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5790f0;
/* rgb */ color: rgb(87, 144, 240);
/* oklch */ color: oklch(66.0% 0.156 260.2);
Tailwind
colors: {
  custom: {
    50: '#94b0f5',
    500: '#5790f0',
    950: '#000000',
  },
}
SCSS
$custom: #5790f0;
$custom-light: #94b0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5790f0",
  "rgb": {
    "r": 87,
    "g": 144,
    "b": 240
  },
  "hsl": {
    "h": 217.647,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.65953,
    "c": 0.15561,
    "h": 260.2
  },
  "luminance": 0.28264
}

Semantic roles & 50–950 ramp

primary
#5790F0
secondary
#ECD8B7
accent
#8F05E0
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5790F0

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

Preview Lab → · Contrast checker → · Palette generator →

#5790F0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva