#5790E2#5790E2

#5790E2 is a light, vivid blue. Relative luminance 0.275; OKLCH L 65.2% C 0.137 H 257.6°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#5790E2
RGBrgb(87, 144, 226)
HSLhsl(215, 71%, 61%)
HSVhsv(215, 62%, 89%)
CMYKcmyk(61.5%, 36.3%, 0%, 11.4%)
CIE-LABlab(59.40, 6.21, -47.24)
CIE-LCHlch(59.40, 47.65, 277.49°)
OKLaboklab(65.15% -0.0296 -0.134)
OKLCHoklch(65.15% 0.137 257.6)
XYZxyz(27.6263, 27.4612, 75.7814)
Luminance0.2746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5790E2 #E2A957
analogous
#57D5E2 #5790E2 #6457E2
triadic
#5790E2 #E25790 #90E257
tetradic
#5790E2 #E257D5 #E2A957 #57E264
square
#5790E2 #E257D5 #E2A957 #57E264
split-complementary
#5790E2 #E26457 #D5E257
monochromatic
#1C53A3 #256ED7 #5790E2 #8BB2EB #BFD5F4

Accessibility & contrast

On white

3.23
#5790E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#5790E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5790E2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5790E2#FFFFFF#000000##000000
##5790E21.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D96E5
Deuteranopia (green-blind)
#5A89E0
Tritanopia (blue-blind)
#00A3AE
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5790e2;
/* rgb */ color: rgb(87, 144, 226);
/* oklch */ color: oklch(65.2% 0.137 257.6);
Tailwind
colors: {
  custom: {
    50: '#92b0eb',
    500: '#5790e2',
    950: '#000000',
  },
}
SCSS
$custom: #5790e2;
$custom-light: #92b0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5790e2",
  "rgb": {
    "r": 87,
    "g": 144,
    "b": 226
  },
  "hsl": {
    "h": 215.396,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65154,
    "c": 0.13722,
    "h": 257.6
  },
  "luminance": 0.27464
}

Semantic roles & 50–950 ramp

primary
#5790E2
secondary
#E4CFB0
accent
#8413D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5790E2

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

Preview Lab → · Contrast checker → · Palette generator →

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