#5A95F0#5A95F0

#5A95F0 is a light, vivid blue. Relative luminance 0.300; OKLCH L 67.1% C 0.149 H 258.8°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#5A95F0
RGBrgb(90, 149, 240)
HSLhsl(216, 83%, 65%)
HSVhsv(216, 63%, 94%)
CMYKcmyk(62.5%, 37.9%, 0%, 5.9%)
CIE-LABlab(61.62, 8.45, -51.47)
CIE-LCHlch(61.62, 52.16, 279.33°)
OKLaboklab(67.15% -0.029 -0.1463)
OKLCHoklch(67.15% 0.149 258.8)
XYZxyz(30.6865, 29.9570, 86.5863)
Luminance0.2996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A95F0 #F0B55A
analogous
#5AE0F0 #5A95F0 #6A5AF0
triadic
#5A95F0 #F05A95 #95F05A
tetradic
#5A95F0 #F05AE0 #F0B55A #5AF06A
square
#5A95F0 #F05AE0 #F0B55A #5AF06A
split-complementary
#5A95F0 #F06A5A #E0F05A
monochromatic
#1155BE #2271EB #5A95F0 #92B9F5 #CADDFA

Accessibility & contrast

On white

3.00
#5A95F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#5A95F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A95F0
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A95F0#FFFFFF#000000##000000
##5A95F01.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9CF4
Deuteranopia (green-blind)
#588EEE
Tritanopia (blue-blind)
#00AAB7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5a95f0;
/* rgb */ color: rgb(90, 149, 240);
/* oklch */ color: oklch(67.1% 0.149 258.8);
Tailwind
colors: {
  custom: {
    50: '#95b3f5',
    500: '#5a95f0',
    950: '#000000',
  },
}
SCSS
$custom: #5a95f0;
$custom-light: #95b3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a95f0",
  "rgb": {
    "r": 90,
    "g": 149,
    "b": 240
  },
  "hsl": {
    "h": 216.4,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67147,
    "c": 0.14911,
    "h": 258.8
  },
  "luminance": 0.2996
}

Semantic roles & 50–950 ramp

primary
#5A95F0
secondary
#EDD8B9
accent
#8A06E0
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A95F0

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

Preview Lab → · Contrast checker → · Palette generator →

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