#5A7FED#5A7FED

#5A7FED is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.4% C 0.170 H 267.4°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5A7FED
RGBrgb(90, 127, 237)
HSLhsl(225, 80%, 64%)
HSVhsv(225, 62%, 93%)
CMYKcmyk(62%, 46.4%, 0%, 7.1%)
CIE-LABlab(55.55, 20.64, -59.49)
CIE-LCHlch(55.55, 62.97, 289.13°)
OKLaboklab(62.42% -0.0078 -0.1701)
OKLCHoklch(62.42% 0.17 267.4)
XYZxyz(27.0867, 23.4644, 83.2060)
Luminance0.2347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7FED #EDC85A
analogous
#5AC9ED #5A7FED #7F5AED
triadic
#5A7FED #ED5A7F #7FED5A
tetradic
#5A7FED #ED5AC9 #EDC85A #5AED7F
square
#5A7FED #ED5AC9 #EDC85A #5AED7F
split-complementary
#5A7FED #ED7F5A #C9ED5A
monochromatic
#143DB8 #2354E7 #5A7FED #91AAF3 #C8D5F9

Accessibility & contrast

On white

3.69
#5A7FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#5A7FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7FED
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7FED#FFFFFF#000000##000000
##5A7FED1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#488CF1
Deuteranopia (green-blind)
#2E7FEB
Tritanopia (blue-blind)
#0098AA
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5a7fed;
/* rgb */ color: rgb(90, 127, 237);
/* oklch */ color: oklch(62.4% 0.170 267.4);
Tailwind
colors: {
  custom: {
    50: '#95a3f3',
    500: '#5a7fed',
    950: '#000000',
  },
}
SCSS
$custom: #5a7fed;
$custom-light: #95a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7fed",
  "rgb": {
    "r": 90,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 224.898,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62417,
    "c": 0.17026,
    "h": 267.4
  },
  "luminance": 0.23467
}

Semantic roles & 50–950 ramp

primary
#5A7FED
secondary
#EBDEB8
accent
#A709DD
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5A7FED

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

Preview Lab → · Contrast checker → · Palette generator →

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