#5F95F5#5F95F5

#5F95F5 is a light, vivid blue. Relative luminance 0.305; OKLCH L 67.7% C 0.154 H 261.1°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#5F95F5
RGBrgb(95, 149, 245)
HSLhsl(218, 88%, 67%)
HSVhsv(218, 61%, 96%)
CMYKcmyk(61.2%, 39.2%, 0%, 3.9%)
CIE-LABlab(62.10, 11.00, -53.44)
CIE-LCHlch(62.10, 54.56, 281.63°)
OKLaboklab(67.66% -0.0238 -0.152)
OKLCHoklch(67.66% 0.154 261.1)
XYZxyz(31.9424, 30.5175, 90.5756)
Luminance0.3052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F95F5 #F5BF5F
analogous
#5FE0F5 #5F95F5 #745FF5
triadic
#5F95F5 #F55F95 #95F55F
tetradic
#5F95F5 #F55FE0 #F5BF5F #5FF574
square
#5F95F5 #F55FE0 #F5BF5F #5FF574
split-complementary
#5F95F5 #F5745F #E0F55F
monochromatic
#0D52CD #256FF1 #5F95F5 #99BBF9 #D2E1FC

Accessibility & contrast

On white

2.96
#5F95F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#5F95F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F95F5
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F95F5#FFFFFF#000000##000000
##5F95F51.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9EF9
Deuteranopia (green-blind)
#5690F3
Tritanopia (blue-blind)
#00ABB9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5f95f5;
/* rgb */ color: rgb(95, 149, 245);
/* oklch */ color: oklch(67.7% 0.154 261.1);
Tailwind
colors: {
  custom: {
    50: '#99b3f9',
    500: '#5f95f5',
    950: '#000000',
  },
}
SCSS
$custom: #5f95f5;
$custom-light: #99b3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f95f5",
  "rgb": {
    "r": 95,
    "g": 149,
    "b": 245
  },
  "hsl": {
    "h": 218.4,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67665,
    "c": 0.15382,
    "h": 261.1
  },
  "luminance": 0.3052
}

Semantic roles & 50–950 ramp

primary
#5F95F5
secondary
#F0DFC0
accent
#9301E5
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5F95F5

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

Preview Lab → · Contrast checker → · Palette generator →

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