#5F95FA#5F95FA

#5F95FA is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.0% C 0.160 H 261.8°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#5F95FA
RGBrgb(95, 149, 250)
HSLhsl(219, 94%, 68%)
HSVhsv(219, 62%, 98%)
CMYKcmyk(62%, 40.4%, 0%, 2%)
CIE-LABlab(62.36, 12.65, -55.77)
CIE-LCHlch(62.36, 57.19, 282.78°)
OKLaboklab(67.95% -0.0228 -0.1588)
OKLCHoklch(67.95% 0.16 261.8)
XYZxyz(32.7160, 30.8269, 94.6500)
Luminance0.3083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F95FA #FAC45F
analogous
#5FE2FA #5F95FA #775FFA
triadic
#5F95FA #FA5F95 #95FA5F
tetradic
#5F95FA #FA5FE2 #FAC45F #5FFA77
square
#5F95FA #FA5FE2 #FAC45F #5FFA77
split-complementary
#5F95FA #FA775F #E2FA5F
monochromatic
#0750D8 #246EF8 #5F95FA #9ABCFC #D6E4FE

Accessibility & contrast

On white

2.93
#5F95FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#5F95FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F95FA
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F95FA#FFFFFF#000000##000000
##5F95FA1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#689EFE
Deuteranopia (green-blind)
#5190F8
Tritanopia (blue-blind)
#00ACBB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5f95fa;
/* rgb */ color: rgb(95, 149, 250);
/* oklch */ color: oklch(68.0% 0.160 261.8);
Tailwind
colors: {
  custom: {
    50: '#99b3fc',
    500: '#5f95fa',
    950: '#000000',
  },
}
SCSS
$custom: #5f95fa;
$custom-light: #99b3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5f95fa",
  "rgb": {
    "r": 95,
    "g": 149,
    "b": 250
  },
  "hsl": {
    "h": 219.097,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67954,
    "c": 0.16041,
    "h": 261.8
  },
  "luminance": 0.3083
}

Semantic roles & 50–950 ramp

primary
#5F95FA
secondary
#F2E2C2
accent
#9600E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5F95FA

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

Preview Lab → · Contrast checker → · Palette generator →

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