#5F7FF0#5F7FF0

#5F7FF0 is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.9% C 0.173 H 269.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5F7FF0
RGBrgb(95, 127, 240)
HSLhsl(227, 83%, 66%)
HSVhsv(227, 60%, 94%)
CMYKcmyk(60.4%, 47.1%, 0%, 5.9%)
CIE-LABlab(55.99, 22.52, -60.44)
CIE-LCHlch(55.99, 64.50, 290.44°)
OKLaboklab(62.88% -0.0027 -0.1728)
OKLCHoklch(62.88% 0.173 269.1)
XYZxyz(28.0316, 23.9006, 85.5572)
Luminance0.2390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7FF0 #F0D05F
analogous
#5FC7F0 #5F7FF0 #885FF0
triadic
#5F7FF0 #F05F7F #7FF05F
tetradic
#5F7FF0 #F05FC7 #F0D05F #5FF088
square
#5F7FF0 #F05FC7 #F0D05F #5FF088
split-complementary
#5F7FF0 #F0885F #C7F05F
monochromatic
#1239C2 #2752EB #5F7FF0 #97ACF5 #CFD9FA

Accessibility & contrast

On white

3.63
#5F7FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#5F7FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7FF0
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7FF0#FFFFFF#000000##000000
##5F7FF01.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#478DF4
Deuteranopia (green-blind)
#2D80EE
Tritanopia (blue-blind)
#0099AC
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5f7ff0;
/* rgb */ color: rgb(95, 127, 240);
/* oklch */ color: oklch(62.9% 0.173 269.1);
Tailwind
colors: {
  custom: {
    50: '#98a3f5',
    500: '#5f7ff0',
    950: '#000000',
  },
}
SCSS
$custom: #5f7ff0;
$custom-light: #98a3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7ff0",
  "rgb": {
    "r": 95,
    "g": 127,
    "b": 240
  },
  "hsl": {
    "h": 226.759,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6288,
    "c": 0.17278,
    "h": 269.1
  },
  "luminance": 0.23903
}

Semantic roles & 50–950 ramp

primary
#5F7FF0
secondary
#EEE3BD
accent
#AF06DF
background
#FAFAFF
surface
#F3F3FE
border
#CDCDD6
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5F7FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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