#5A7DF3#5A7DF3

#5A7DF3 is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.4% C 0.181 H 268.4°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5A7DF3
RGBrgb(90, 125, 243)
HSLhsl(226, 86%, 65%)
HSVhsv(226, 63%, 95%)
CMYKcmyk(63%, 48.6%, 0%, 4.7%)
CIE-LABlab(55.39, 23.87, -63.08)
CIE-LCHlch(55.39, 67.45, 290.73°)
OKLaboklab(62.41% -0.0052 -0.1807)
OKLCHoklch(62.41% 0.181 268.4)
XYZxyz(27.7222, 23.3095, 87.8149)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7DF3 #F3D05A
analogous
#5AC9F3 #5A7DF3 #845AF3
triadic
#5A7DF3 #F35A7D #7DF35A
tetradic
#5A7DF3 #F35AC9 #F3D05A #5AF384
square
#5A7DF3 #F35AC9 #F3D05A #5AF384
split-complementary
#5A7DF3 #F3845A #C9F35A
monochromatic
#0E38C4 #2150EF #5A7DF3 #93AAF7 #CCD7FB

Accessibility & contrast

On white

3.71
#5A7DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#5A7DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7DF3
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7DF3#FFFFFF#000000##000000
##5A7DF31.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8CF7
Deuteranopia (green-blind)
#197EF1
Tritanopia (blue-blind)
#0098AC
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5a7df3;
/* rgb */ color: rgb(90, 125, 243);
/* oklch */ color: oklch(62.4% 0.181 268.4);
Tailwind
colors: {
  custom: {
    50: '#96a2f8',
    500: '#5a7df3',
    950: '#000000',
  },
}
SCSS
$custom: #5a7df3;
$custom-light: #96a2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7df3",
  "rgb": {
    "r": 90,
    "g": 125,
    "b": 243
  },
  "hsl": {
    "h": 226.275,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62413,
    "c": 0.18073,
    "h": 268.4
  },
  "luminance": 0.23312
}

Semantic roles & 50–950 ramp

primary
#5A7DF3
secondary
#EEE2BB
accent
#B003E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0F17
muted
#7E7E85

Preview Lab

Preview with #5A7DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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