#5F95F6#5F95F6

#5F95F6 is a light, vivid blue. Relative luminance 0.306; OKLCH L 67.7% C 0.155 H 261.2°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#5F95F6
RGBrgb(95, 149, 246)
HSLhsl(219, 89%, 67%)
HSVhsv(219, 61%, 96%)
CMYKcmyk(61.4%, 39.4%, 0%, 3.5%)
CIE-LABlab(62.15, 11.33, -53.91)
CIE-LCHlch(62.15, 55.09, 281.86°)
OKLaboklab(67.72% -0.0236 -0.1533)
OKLCHoklch(67.72% 0.155 261.2)
XYZxyz(32.0955, 30.5787, 91.3818)
Luminance0.3058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F95F6 #F6C05F
analogous
#5FE1F6 #5F95F6 #755FF6
triadic
#5F95F6 #F65F95 #95F65F
tetradic
#5F95F6 #F65FE1 #F6C05F #5FF675
square
#5F95F6 #F65FE1 #F6C05F #5FF675
split-complementary
#5F95F6 #F6755F #E1F65F
monochromatic
#0C51CF #256FF3 #5F95F6 #99BBF9 #D3E2FD

Accessibility & contrast

On white

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

On black

7.12
#5F95F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F95F6
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F95F6#FFFFFF#000000##000000
##5F95F61.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9EFA
Deuteranopia (green-blind)
#5590F4
Tritanopia (blue-blind)
#00ABBA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5f95f6;
/* rgb */ color: rgb(95, 149, 246);
/* oklch */ color: oklch(67.7% 0.155 261.2);
Tailwind
colors: {
  custom: {
    50: '#99b3f9',
    500: '#5f95f6',
    950: '#000000',
  },
}
SCSS
$custom: #5f95f6;
$custom-light: #99b3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f95f6",
  "rgb": {
    "r": 95,
    "g": 149,
    "b": 246
  },
  "hsl": {
    "h": 218.543,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.67722,
    "c": 0.15514,
    "h": 261.2
  },
  "luminance": 0.30582
}

Semantic roles & 50–950 ramp

primary
#5F95F6
secondary
#F1DFC0
accent
#9300E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5F95F6

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

Preview Lab → · Contrast checker → · Palette generator →

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