#5A95F5#5A95F5

#5A95F5 is a light, vivid blue. Relative luminance 0.303; OKLCH L 67.4% C 0.156 H 259.7°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#5A95F5
RGBrgb(90, 149, 245)
HSLhsl(217, 89%, 66%)
HSVhsv(217, 63%, 96%)
CMYKcmyk(63.3%, 39.2%, 0%, 3.9%)
CIE-LABlab(61.88, 10.12, -53.81)
CIE-LCHlch(61.88, 54.75, 280.65°)
OKLaboklab(67.43% -0.0279 -0.1531)
OKLCHoklch(67.43% 0.156 259.7)
XYZxyz(31.4395, 30.2581, 90.5521)
Luminance0.3026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A95F5 #F5BA5A
analogous
#5AE3F5 #5A95F5 #6C5AF5
triadic
#5A95F5 #F55A95 #95F55A
tetradic
#5A95F5 #F55AE3 #F5BA5A #5AF56C
square
#5A95F5 #F55AE3 #F5BA5A #5AF56C
split-complementary
#5A95F5 #F56C5A #E3F55A
monochromatic
#0C54C8 #2070F2 #5A95F5 #94BAF8 #CDDFFC

Accessibility & contrast

On white

2.98
#5A95F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#5A95F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A95F5
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A95F5#FFFFFF#000000##000000
##5A95F51.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9DF9
Deuteranopia (green-blind)
#548FF3
Tritanopia (blue-blind)
#00ABB9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5a95f5;
/* rgb */ color: rgb(90, 149, 245);
/* oklch */ color: oklch(67.4% 0.156 259.7);
Tailwind
colors: {
  custom: {
    50: '#96b3f9',
    500: '#5a95f5',
    950: '#000000',
  },
}
SCSS
$custom: #5a95f5;
$custom-light: #96b3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a95f5",
  "rgb": {
    "r": 90,
    "g": 149,
    "b": 245
  },
  "hsl": {
    "h": 217.161,
    "s": 88.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67432,
    "c": 0.15564,
    "h": 259.7
  },
  "luminance": 0.30261
}

Semantic roles & 50–950 ramp

primary
#5A95F5
secondary
#EFDCBC
accent
#8E00E5
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5A95F5

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

Preview Lab → · Contrast checker → · Palette generator →

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