#5A65EF#5A65EF

#5A65EF is a mid, highly saturated blue. Relative luminance 0.177; OKLCH L 57.6% C 0.205 H 274.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5A65EF
RGBrgb(90, 101, 239)
HSLhsl(236, 82%, 65%)
HSVhsv(236, 62%, 94%)
CMYKcmyk(62.3%, 57.7%, 0%, 6.3%)
CIE-LABlab(49.14, 37.18, -70.95)
CIE-LCHlch(49.14, 80.10, 297.66°)
OKLaboklab(57.63% 0.0162 -0.2041)
OKLCHoklch(57.63% 0.205 274.5)
XYZxyz(24.4450, 17.7110, 83.7750)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A65EF #EFE45A
analogous
#5AB0EF #5A65EF #995AEF
triadic
#5A65EF #EF5A65 #65EF5A
tetradic
#5A65EF #EF5AB0 #EFE45A #5AEF99
square
#5A65EF #EF5AB0 #EFE45A #5AEF99
split-complementary
#5A65EF #EF995A #B0EF5A
monochromatic
#121FBC #2231EA #5A65EF #9299F4 #CACDFA

Accessibility & contrast

On white

4.62
#5A65EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#5A65EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A65EF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A65EF#FFFFFF#000000##FFFFFF
##5A65EF1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#006EEC
Tritanopia (blue-blind)
#0087A0
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a65ef;
/* rgb */ color: rgb(90, 101, 239);
/* oklch */ color: oklch(57.6% 0.205 274.5);
Tailwind
colors: {
  custom: {
    50: '#9791f5',
    500: '#5a65ef',
    950: '#000000',
  },
}
SCSS
$custom: #5a65ef;
$custom-light: #9791f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a65ef",
  "rgb": {
    "r": 90,
    "g": 101,
    "b": 239
  },
  "hsl": {
    "h": 235.57,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57634,
    "c": 0.20472,
    "h": 274.5
  },
  "luminance": 0.17713
}

Semantic roles & 50–950 ramp

primary
#5A65EF
secondary
#ECE8B9
accent
#CF07DF
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A65EF

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

Preview Lab → · Contrast checker → · Palette generator →

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