#5F95F9#5F95F9

#5F95F9 is a light, vivid blue. Relative luminance 0.308; OKLCH L 67.9% C 0.159 H 261.7°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#5F95F9
RGBrgb(95, 149, 249)
HSLhsl(219, 93%, 67%)
HSVhsv(219, 62%, 98%)
CMYKcmyk(61.8%, 40.2%, 0%, 2.4%)
CIE-LABlab(62.31, 12.32, -55.31)
CIE-LCHlch(62.31, 56.66, 282.55°)
OKLaboklab(67.9% -0.023 -0.1574)
OKLCHoklch(67.9% 0.159 261.7)
XYZxyz(32.5597, 30.7644, 93.8264)
Luminance0.3077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F95F9 #F9C35F
analogous
#5FE2F9 #5F95F9 #765FF9
triadic
#5F95F9 #F95F95 #95F95F
tetradic
#5F95F9 #F95FE2 #F9C35F #5FF976
square
#5F95F9 #F95FE2 #F9C35F #5FF976
split-complementary
#5F95F9 #F9765F #E2F95F
monochromatic
#0850D6 #246EF7 #5F95F9 #9ABCFB #D5E3FD

Accessibility & contrast

On white

2.94
#5F95F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#5F95F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F95F9
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F95F9#FFFFFF#000000##000000
##5F95F91.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#689EFD
Deuteranopia (green-blind)
#5290F7
Tritanopia (blue-blind)
#00ACBB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5f95f9;
/* rgb */ color: rgb(95, 149, 249);
/* oklch */ color: oklch(67.9% 0.159 261.7);
Tailwind
colors: {
  custom: {
    50: '#99b3fc',
    500: '#5f95f9',
    950: '#000000',
  },
}
SCSS
$custom: #5f95f9;
$custom-light: #99b3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5f95f9",
  "rgb": {
    "r": 95,
    "g": 149,
    "b": 249
  },
  "hsl": {
    "h": 218.961,
    "s": 92.771,
    "l": 67.451
  },
  "oklch": {
    "l": 0.67896,
    "c": 0.15909,
    "h": 261.7
  },
  "luminance": 0.30767
}

Semantic roles & 50–950 ramp

primary
#5F95F9
secondary
#F2E1C2
accent
#9500E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5F95F9

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

Preview Lab → · Contrast checker → · Palette generator →

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