#5A7DF4#5A7DF4

#5A7DF4 is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.5% C 0.182 H 268.4°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5A7DF4
RGBrgb(90, 125, 244)
HSLhsl(226, 88%, 65%)
HSVhsv(226, 63%, 96%)
CMYKcmyk(63.1%, 48.8%, 0%, 4.3%)
CIE-LABlab(55.45, 24.21, -63.54)
CIE-LCHlch(55.45, 67.99, 290.86°)
OKLaboklab(62.48% -0.0051 -0.182)
OKLCHoklch(62.48% 0.182 268.4)
XYZxyz(27.8736, 23.3700, 88.6124)
Luminance0.2337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7DF4 #F4D15A
analogous
#5ACAF4 #5A7DF4 #845AF4
triadic
#5A7DF4 #F45A7D #7DF45A
tetradic
#5A7DF4 #F45ACA #F4D15A #5AF484
square
#5A7DF4 #F45ACA #F4D15A #5AF484
split-complementary
#5A7DF4 #F4845A #CAF45A
monochromatic
#0D37C6 #2150F0 #5A7DF4 #93AAF8 #CDD7FC

Accessibility & contrast

On white

3.70
#5A7DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#5A7DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7DF4
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7DF4#FFFFFF#000000##000000
##5A7DF41.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8CF8
Deuteranopia (green-blind)
#167EF2
Tritanopia (blue-blind)
#0099AD
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5a7df4;
/* rgb */ color: rgb(90, 125, 244);
/* oklch */ color: oklch(62.5% 0.182 268.4);
Tailwind
colors: {
  custom: {
    50: '#97a2f8',
    500: '#5a7df4',
    950: '#000000',
  },
}
SCSS
$custom: #5a7df4;
$custom-light: #97a2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7df4",
  "rgb": {
    "r": 90,
    "g": 125,
    "b": 244
  },
  "hsl": {
    "h": 226.364,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6248,
    "c": 0.18207,
    "h": 268.4
  },
  "luminance": 0.23373
}

Semantic roles & 50–950 ramp

primary
#5A7DF4
secondary
#EFE3BB
accent
#B101E4
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #5A7DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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