#5F6FF0#5F6FF0

#5F6FF0 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.8% C 0.193 H 273.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5F6FF0
RGBrgb(95, 111, 240)
HSLhsl(233, 83%, 66%)
HSVhsv(233, 60%, 94%)
CMYKcmyk(60.4%, 53.8%, 0%, 5.9%)
CIE-LABlab(51.94, 32.26, -66.96)
CIE-LCHlch(51.94, 74.33, 295.72°)
OKLaboklab(59.82% 0.0126 -0.1921)
OKLCHoklch(59.82% 0.193 273.7)
XYZxyz(26.1268, 20.0909, 84.9223)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6FF0 #F0E05F
analogous
#5FB8F0 #5F6FF0 #975FF0
triadic
#5F6FF0 #F05F6F #6FF05F
tetradic
#5F6FF0 #F05FB8 #F0E05F #5FF097
square
#5F6FF0 #F05FB8 #F0E05F #5FF097
split-complementary
#5F6FF0 #F0975F #B8F05F
monochromatic
#1226C2 #273DEB #5F6FF0 #97A1F5 #CFD4FA

Accessibility & contrast

On white

4.18
#5F6FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#5F6FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6FF0
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6FF0#FFFFFF#000000##000000
##5F6FF01.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1282F4
Deuteranopia (green-blind)
#0076ED
Tritanopia (blue-blind)
#008DA5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5f6ff0;
/* rgb */ color: rgb(95, 111, 240);
/* oklch */ color: oklch(59.8% 0.193 273.7);
Tailwind
colors: {
  custom: {
    50: '#9998f6',
    500: '#5f6ff0',
    950: '#000000',
  },
}
SCSS
$custom: #5f6ff0;
$custom-light: #9998f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6ff0",
  "rgb": {
    "r": 95,
    "g": 111,
    "b": 240
  },
  "hsl": {
    "h": 233.379,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59821,
    "c": 0.19254,
    "h": 273.7
  },
  "luminance": 0.20093
}

Semantic roles & 50–950 ramp

primary
#5F6FF0
secondary
#EEE8BD
accent
#C706DF
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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