#5F7CF6#5F7CF6

#5F7CF6 is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.7% C 0.184 H 270.3°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5F7CF6
RGBrgb(95, 124, 246)
HSLhsl(228, 89%, 67%)
HSVhsv(228, 61%, 96%)
CMYKcmyk(61.4%, 49.6%, 0%, 3.5%)
CIE-LABlab(55.58, 26.33, -64.42)
CIE-LCHlch(55.58, 69.59, 292.23°)
OKLaboklab(62.69% 0.0008 -0.1845)
OKLCHoklch(62.69% 0.185 270.3)
XYZxyz(28.5559, 23.4996, 90.2019)
Luminance0.2350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7CF6 #F6D95F
analogous
#5FC7F6 #5F7CF6 #8E5FF6
triadic
#5F7CF6 #F65F7C #7CF65F
tetradic
#5F7CF6 #F65FC7 #F6D95F #5FF68E
square
#5F7CF6 #F65FC7 #F6D95F #5FF68E
split-complementary
#5F7CF6 #F68E5F #C7F65F
monochromatic
#0C31CF #254DF3 #5F7CF6 #99ABF9 #D3DBFD

Accessibility & contrast

On white

3.68
#5F7CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#5F7CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7CF6
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7CF6#FFFFFF#000000##000000
##5F7CF61.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#398CFA
Deuteranopia (green-blind)
#117FF3
Tritanopia (blue-blind)
#0098AD
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5f7cf6;
/* rgb */ color: rgb(95, 124, 246);
/* oklch */ color: oklch(62.7% 0.184 270.3);
Tailwind
colors: {
  custom: {
    50: '#99a1fa',
    500: '#5f7cf6',
    950: '#000000',
  },
}
SCSS
$custom: #5f7cf6;
$custom-light: #99a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7cf6",
  "rgb": {
    "r": 95,
    "g": 124,
    "b": 246
  },
  "hsl": {
    "h": 228.477,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.6269,
    "c": 0.1845,
    "h": 270.3
  },
  "luminance": 0.23502
}

Semantic roles & 50–950 ramp

primary
#5F7CF6
secondary
#F1E7C0
accent
#B900E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F7CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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