#5F5EF3#5F5EF3

#5F5EF3 is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 57.1% C 0.217 H 277.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5F5EF3
RGBrgb(95, 94, 243)
HSLhsl(240, 86%, 66%)
HSVhsv(240, 61%, 95%)
CMYKcmyk(60.9%, 61.3%, 0%, 4.7%)
CIE-LABlab(48.14, 43.43, -74.80)
CIE-LCHlch(48.14, 86.50, 300.14°)
OKLaboklab(57.07% 0.0276 -0.2153)
OKLCHoklch(57.07% 0.217 277.3)
XYZxyz(24.8945, 16.9074, 86.7282)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5EF3 #F2F35E
analogous
#5EA7F3 #5F5EF3 #A95EF3
triadic
#5F5EF3 #F35F5E #5EF35F
tetradic
#5F5EF3 #F35EA7 #F2F35E #5EF3A9
square
#5F5EF3 #F35EA7 #F2F35E #5EF3A9
split-complementary
#5F5EF3 #F3A95E #A7F35E
monochromatic
#100FC8 #2625EF #5F5EF3 #9897F7 #D0D0FB

Accessibility & contrast

On white

4.79
#5F5EF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#5F5EF3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5EF3
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5EF3#FFFFFF#000000##FFFFFF
##5F5EF31.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F8
Deuteranopia (green-blind)
#006CF0
Tritanopia (blue-blind)
#0083A0
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5f5ef3;
/* rgb */ color: rgb(95, 94, 243);
/* oklch */ color: oklch(57.1% 0.217 277.3);
Tailwind
colors: {
  custom: {
    50: '#9b8cf8',
    500: '#5f5ef3',
    950: '#000000',
  },
}
SCSS
$custom: #5f5ef3;
$custom-light: #9b8cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5ef3",
  "rgb": {
    "r": 95,
    "g": 94,
    "b": 243
  },
  "hsl": {
    "h": 240.403,
    "s": 86.127,
    "l": 66.078
  },
  "oklch": {
    "l": 0.57073,
    "c": 0.2171,
    "h": 277.3
  },
  "luminance": 0.16909
}

Semantic roles & 50–950 ramp

primary
#5F5EF3
secondary
#EFEFBE
accent
#E303E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F5EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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