#5A65EB#5A65EB

#5A65EB is a mid, vivid blue. Relative luminance 0.175; OKLCH L 57.3% C 0.200 H 274.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5A65EB
RGBrgb(90, 101, 235)
HSLhsl(235, 78%, 64%)
HSVhsv(235, 62%, 92%)
CMYKcmyk(61.7%, 57%, 0%, 7.8%)
CIE-LABlab(48.86, 35.87, -69.17)
CIE-LCHlch(48.86, 77.92, 297.41°)
OKLaboklab(57.33% 0.0162 -0.1989)
OKLCHoklch(57.33% 0.2 274.7)
XYZxyz(23.8606, 17.4772, 80.6972)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A65EB #EBE05A
analogous
#5AADEB #5A65EB #975AEB
triadic
#5A65EB #EB5A65 #65EB5A
tetradic
#5A65EB #EB5AAD #EBE05A #5AEB97
square
#5A65EB #EB5AAD #EBE05A #5AEB97
split-complementary
#5A65EB #EB975A #ADEB5A
monochromatic
#1622B5 #2332E4 #5A65EB #9198F2 #C7CBF8

Accessibility & contrast

On white

4.67
#5A65EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#5A65EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A65EB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A65EB#FFFFFF#000000##FFFFFF
##5A65EB1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#006EE8
Tritanopia (blue-blind)
#00859E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5a65eb;
/* rgb */ color: rgb(90, 101, 235);
/* oklch */ color: oklch(57.3% 0.200 274.7);
Tailwind
colors: {
  custom: {
    50: '#9691f2',
    500: '#5a65eb',
    950: '#000000',
  },
}
SCSS
$custom: #5a65eb;
$custom-light: #9691f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a65eb",
  "rgb": {
    "r": 90,
    "g": 101,
    "b": 235
  },
  "hsl": {
    "h": 235.448,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.5733,
    "c": 0.19952,
    "h": 274.7
  },
  "luminance": 0.17479
}

Semantic roles & 50–950 ramp

primary
#5A65EB
secondary
#EAE6B7
accent
#CB0BDB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5A65EB

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

Preview Lab → · Contrast checker → · Palette generator →

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