#5A7DF0#5A7DF0

#5A7DF0 is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.2% C 0.177 H 268.2°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5A7DF0
RGBrgb(90, 125, 240)
HSLhsl(226, 83%, 65%)
HSVhsv(226, 63%, 94%)
CMYKcmyk(62.5%, 47.9%, 0%, 5.9%)
CIE-LABlab(55.21, 22.87, -61.71)
CIE-LCHlch(55.21, 65.81, 290.33°)
OKLaboklab(62.21% -0.0055 -0.1766)
OKLCHoklch(62.21% 0.177 268.2)
XYZxyz(27.2729, 23.1297, 85.4484)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7DF0 #F0CD5A
analogous
#5AC8F0 #5A7DF0 #825AF0
triadic
#5A7DF0 #F05A7D #7DF05A
tetradic
#5A7DF0 #F05AC8 #F0CD5A #5AF082
square
#5A7DF0 #F05AC8 #F0CD5A #5AF082
split-complementary
#5A7DF0 #F0825A #C8F05A
monochromatic
#113ABE #2251EB #5A7DF0 #92A9F5 #CAD5FA

Accessibility & contrast

On white

3.73
#5A7DF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#5A7DF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7DF0
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7DF0#FFFFFF#000000##000000
##5A7DF01.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#418BF4
Deuteranopia (green-blind)
#217EEE
Tritanopia (blue-blind)
#0097AB
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5a7df0;
/* rgb */ color: rgb(90, 125, 240);
/* oklch */ color: oklch(62.2% 0.177 268.2);
Tailwind
colors: {
  custom: {
    50: '#96a2f6',
    500: '#5a7df0',
    950: '#000000',
  },
}
SCSS
$custom: #5a7df0;
$custom-light: #96a2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7df0",
  "rgb": {
    "r": 90,
    "g": 125,
    "b": 240
  },
  "hsl": {
    "h": 226,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62214,
    "c": 0.17672,
    "h": 268.2
  },
  "luminance": 0.23132
}

Semantic roles & 50–950 ramp

primary
#5A7DF0
secondary
#EDE1B9
accent
#AD06E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0F17
muted
#7E7E85

Preview Lab

Preview with #5A7DF0

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

Preview Lab → · Contrast checker → · Palette generator →

#5A7DF0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva