#5790F2#5790F2

#5790F2 is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.1% C 0.158 H 260.5°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5790F2
RGBrgb(87, 144, 242)
HSLhsl(218, 86%, 65%)
HSVhsv(218, 64%, 95%)
CMYKcmyk(64%, 40.5%, 0%, 5.1%)
CIE-LABlab(60.23, 11.57, -54.78)
CIE-LCHlch(60.23, 55.99, 281.92°)
OKLaboklab(66.07% -0.026 -0.1561)
OKLCHoklch(66.07% 0.158 260.5)
XYZxyz(29.9251, 28.3807, 87.8882)
Luminance0.2838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5790F2 #F2B957
analogous
#57DEF2 #5790F2 #6B57F2
triadic
#5790F2 #F25790 #90F257
tetradic
#5790F2 #F257DE #F2B957 #57F26B
square
#5790F2 #F257DE #F2B957 #57F26B
split-complementary
#5790F2 #F26B57 #DEF257
monochromatic
#0F50C0 #1E6AEE #5790F2 #90B6F6 #C9DBFB

Accessibility & contrast

On white

3.15
#5790F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#5790F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5790F2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5790F2#FFFFFF#000000##000000
##5790F21.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6499F6
Deuteranopia (green-blind)
#4C8BF0
Tritanopia (blue-blind)
#00A6B5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5790f2;
/* rgb */ color: rgb(87, 144, 242);
/* oklch */ color: oklch(66.1% 0.158 260.5);
Tailwind
colors: {
  custom: {
    50: '#94b0f7',
    500: '#5790f2',
    950: '#000000',
  },
}
SCSS
$custom: #5790f2;
$custom-light: #94b0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5790f2",
  "rgb": {
    "r": 87,
    "g": 144,
    "b": 242
  },
  "hsl": {
    "h": 217.935,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66071,
    "c": 0.15824,
    "h": 260.5
  },
  "luminance": 0.28384
}

Semantic roles & 50–950 ramp

primary
#5790F2
secondary
#EDD9B8
accent
#9003E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5790F2

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

Preview Lab → · Contrast checker → · Palette generator →

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