#5F65FA#5F65FA

#5F65FA is a mid, highly saturated blue. Relative luminance 0.186; OKLCH L 58.8% C 0.218 H 275.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5F65FA
RGBrgb(95, 101, 250)
HSLhsl(238, 94%, 68%)
HSVhsv(238, 62%, 98%)
CMYKcmyk(62%, 59.6%, 0%, 2%)
CIE-LABlab(50.26, 41.53, -75.25)
CIE-LCHlch(50.26, 85.95, 298.89°)
OKLaboklab(58.8% 0.0215 -0.2166)
OKLCHoklch(58.8% 0.218 275.7)
XYZxyz(26.6227, 18.6402, 92.6189)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F65FA #FAF45F
analogous
#5FB3FA #5F65FA #A65FFA
triadic
#5F65FA #FA5F65 #65FA5F
tetradic
#5F65FA #FA5FB3 #FAF45F #5FFAA6
square
#5F65FA #FA5FB3 #FAF45F #5FFAA6
split-complementary
#5F65FA #FAA65F #B3FA5F
monochromatic
#070FD8 #242CF8 #5F65FA #9A9EFC #D6D7FE

Accessibility & contrast

On white

4.44
#5F65FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#5F65FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F65FA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F65FA#FFFFFF#000000##000000
##5F65FA1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0071F7
Tritanopia (blue-blind)
#008AA6
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5f65fa;
/* rgb */ color: rgb(95, 101, 250);
/* oklch */ color: oklch(58.8% 0.218 275.7);
Tailwind
colors: {
  custom: {
    50: '#9b91fd',
    500: '#5f65fa',
    950: '#000000',
  },
}
SCSS
$custom: #5f65fa;
$custom-light: #9b91fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f65fa",
  "rgb": {
    "r": 95,
    "g": 101,
    "b": 250
  },
  "hsl": {
    "h": 237.677,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.58798,
    "c": 0.21767,
    "h": 275.7
  },
  "luminance": 0.18642
}

Semantic roles & 50–950 ramp

primary
#5F65FA
secondary
#F2F1C2
accent
#DD00E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #5F65FA

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

Preview Lab → · Contrast checker → · Palette generator →

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