#5F5AE9#5F5AE9

#5F5AE9 is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.6% C 0.209 H 278.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5F5AE9
RGBrgb(95, 90, 233)
HSLhsl(242, 76%, 63%)
HSVhsv(242, 61%, 91%)
CMYKcmyk(59.2%, 61.4%, 0%, 8.6%)
CIE-LABlab(46.48, 42.62, -71.90)
CIE-LCHlch(46.48, 83.58, 300.66°)
OKLaboklab(55.62% 0.0316 -0.2068)
OKLCHoklch(55.62% 0.209 278.7)
XYZxyz(23.0788, 15.6267, 78.8751)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5AE9 #E4E95A
analogous
#5A9CE9 #5F5AE9 #A65AE9
triadic
#5F5AE9 #E95F5A #5AE95F
tetradic
#5F5AE9 #E95A9C #E4E95A #5AE9A6
square
#5F5AE9 #E95A9C #E4E95A #5AE9A6
split-complementary
#5F5AE9 #E9A65A #9CE95A
monochromatic
#1D18B1 #2B24E2 #5F5AE9 #9390F0 #C8C6F7

Accessibility & contrast

On white

5.09
#5F5AE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5F5AE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5AE9
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5AE9#FFFFFF#000000##FFFFFF
##5F5AE91.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EE
Deuteranopia (green-blind)
#0068E6
Tritanopia (blue-blind)
#007D99
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5f5ae9;
/* rgb */ color: rgb(95, 90, 233);
/* oklch */ color: oklch(55.6% 0.209 278.7);
Tailwind
colors: {
  custom: {
    50: '#9989f1',
    500: '#5f5ae9',
    950: '#000000',
  },
}
SCSS
$custom: #5f5ae9;
$custom-light: #9989f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5ae9",
  "rgb": {
    "r": 95,
    "g": 90,
    "b": 233
  },
  "hsl": {
    "h": 242.098,
    "s": 76.471,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55617,
    "c": 0.20921,
    "h": 278.7
  },
  "luminance": 0.15628
}

Semantic roles & 50–950 ramp

primary
#5F5AE9
secondary
#E7E9B6
accent
#D90DD2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F5AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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