#5F95F7#5F95F7

#5F95F7 is a light, vivid blue. Relative luminance 0.306; OKLCH L 67.8% C 0.156 H 261.4°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#5F95F7
RGBrgb(95, 149, 247)
HSLhsl(219, 90%, 67%)
HSVhsv(219, 62%, 97%)
CMYKcmyk(61.5%, 39.7%, 0%, 3.1%)
CIE-LABlab(62.20, 11.66, -54.38)
CIE-LCHlch(62.20, 55.61, 282.10°)
OKLaboklab(67.78% -0.0234 -0.1547)
OKLCHoklch(67.78% 0.156 261.4)
XYZxyz(32.2494, 30.6403, 92.1923)
Luminance0.3064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F95F7 #F7C15F
analogous
#5FE1F7 #5F95F7 #755FF7
triadic
#5F95F7 #F75F95 #95F75F
tetradic
#5F95F7 #F75FE1 #F7C15F #5FF775
square
#5F95F7 #F75FE1 #F7C15F #5FF775
split-complementary
#5F95F7 #F7755F #E1F75F
monochromatic
#0A51D1 #256EF4 #5F95F7 #99BCFA #D4E2FD

Accessibility & contrast

On white

2.95
#5F95F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#5F95F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F95F7
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F95F7#FFFFFF#000000##000000
##5F95F71.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9EFB
Deuteranopia (green-blind)
#5490F5
Tritanopia (blue-blind)
#00ABBA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5f95f7;
/* rgb */ color: rgb(95, 149, 247);
/* oklch */ color: oklch(67.8% 0.156 261.4);
Tailwind
colors: {
  custom: {
    50: '#99b3fa',
    500: '#5f95f7',
    950: '#000000',
  },
}
SCSS
$custom: #5f95f7;
$custom-light: #99b3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5f95f7",
  "rgb": {
    "r": 95,
    "g": 149,
    "b": 247
  },
  "hsl": {
    "h": 218.684,
    "s": 90.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.6778,
    "c": 0.15645,
    "h": 261.4
  },
  "luminance": 0.30643
}

Semantic roles & 50–950 ramp

primary
#5F95F7
secondary
#F1E0C1
accent
#9400E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5F95F7

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

Preview Lab → · Contrast checker → · Palette generator →

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