#5F7FF9#5F7FF9

#5F7FF9 is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.5% C 0.185 H 269.5°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5F7FF9
RGBrgb(95, 127, 249)
HSLhsl(228, 93%, 67%)
HSVhsv(228, 62%, 98%)
CMYKcmyk(61.8%, 49%, 0%, 2.4%)
CIE-LABlab(56.53, 25.51, -64.55)
CIE-LCHlch(56.53, 69.40, 291.56°)
OKLaboklab(63.47% -0.0017 -0.1848)
OKLCHoklch(63.47% 0.185 269.5)
XYZxyz(29.4018, 24.4486, 92.7738)
Luminance0.2445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7FF9 #F9D95F
analogous
#5FCCF9 #5F7FF9 #8C5FF9
triadic
#5F7FF9 #F95F7F #7FF95F
tetradic
#5F7FF9 #F95FCC #F9D95F #5FF98C
square
#5F7FF9 #F95FCC #F9D95F #5FF98C
split-complementary
#5F7FF9 #F98C5F #CCF95F
monochromatic
#0833D6 #2450F7 #5F7FF9 #9AAEFB #D5DDFD

Accessibility & contrast

On white

3.57
#5F7FF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#5F7FF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7FF9
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7FF9#FFFFFF#000000##000000
##5F7FF91.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8FFD
Deuteranopia (green-blind)
#1781F6
Tritanopia (blue-blind)
#009BB0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5f7ff9;
/* rgb */ color: rgb(95, 127, 249);
/* oklch */ color: oklch(63.5% 0.185 269.5);
Tailwind
colors: {
  custom: {
    50: '#9aa3fc',
    500: '#5f7ff9',
    950: '#000000',
  },
}
SCSS
$custom: #5f7ff9;
$custom-light: #9aa3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7ff9",
  "rgb": {
    "r": 95,
    "g": 127,
    "b": 249
  },
  "hsl": {
    "h": 227.532,
    "s": 92.771,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63471,
    "c": 0.18485,
    "h": 269.5
  },
  "luminance": 0.24451
}

Semantic roles & 50–950 ramp

primary
#5F7FF9
secondary
#F2E8C2
accent
#B600E6
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5F7FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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