#5F5EF0#5F5EF0

#5F5EF0 is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.8% C 0.213 H 277.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5F5EF0
RGBrgb(95, 94, 240)
HSLhsl(240, 83%, 65%)
HSVhsv(240, 61%, 94%)
CMYKcmyk(60.4%, 60.8%, 0%, 5.9%)
CIE-LABlab(47.92, 42.48, -73.49)
CIE-LCHlch(47.92, 84.89, 300.03°)
OKLaboklab(56.84% 0.0278 -0.2115)
OKLCHoklch(56.84% 0.213 277.5)
XYZxyz(24.4451, 16.7277, 84.3618)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5EF0 #EFF05E
analogous
#5EA6F0 #5F5EF0 #A85EF0
triadic
#5F5EF0 #F05F5E #5EF05F
tetradic
#5F5EF0 #F05EA6 #EFF05E #5EF0A8
square
#5F5EF0 #F05EA6 #EFF05E #5EF0A8
split-complementary
#5F5EF0 #F0A85E #A6F05E
monochromatic
#1312C2 #2726EB #5F5EF0 #9796F5 #CECEFA

Accessibility & contrast

On white

4.83
#5F5EF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#5F5EF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5EF0
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5EF0#FFFFFF#000000##FFFFFF
##5F5EF01.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F5
Deuteranopia (green-blind)
#006CED
Tritanopia (blue-blind)
#00829E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5f5ef0;
/* rgb */ color: rgb(95, 94, 240);
/* oklch */ color: oklch(56.8% 0.213 277.5);
Tailwind
colors: {
  custom: {
    50: '#9a8cf6',
    500: '#5f5ef0',
    950: '#000000',
  },
}
SCSS
$custom: #5f5ef0;
$custom-light: #9a8cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5ef0",
  "rgb": {
    "r": 95,
    "g": 94,
    "b": 240
  },
  "hsl": {
    "h": 240.411,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.56835,
    "c": 0.21331,
    "h": 277.5
  },
  "luminance": 0.1673
}

Semantic roles & 50–950 ramp

primary
#5F5EF0
secondary
#EDEDBC
accent
#DF06DE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F5EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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