#5F9AFC#5F9AFC

#5F9AFC is a light, vivid blue. Relative luminance 0.326; OKLCH L 69.1% C 0.158 H 260.0°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#5F9AFC
RGBrgb(95, 154, 252)
HSLhsl(217, 96%, 68%)
HSVhsv(217, 62%, 99%)
CMYKcmyk(62.3%, 38.9%, 0%, 1.2%)
CIE-LABlab(63.81, 10.37, -54.56)
CIE-LCHlch(63.81, 55.54, 280.76°)
OKLaboklab(69.11% -0.0273 -0.1552)
OKLCHoklch(69.11% 0.158 260)
XYZxyz(33.8394, 32.5692, 96.5798)
Luminance0.3257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9AFC #FCC15F
analogous
#5FE9FC #5F9AFC #725FFC
triadic
#5F9AFC #FC5F9A #9AFC5F
tetradic
#5F9AFC #FC5FE9 #FCC15F #5FFC72
square
#5F9AFC #FC5FE9 #FCC15F #5FFC72
split-complementary
#5F9AFC #FC725F #E9FC5F
monochromatic
#0455DC #2374FB #5F9AFC #9BC0FD #D7E6FE

Accessibility & contrast

On white

2.79
#5F9AFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#5F9AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9AFC
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9AFC#FFFFFF#000000##000000
##5F9AFC1.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FF
Deuteranopia (green-blind)
#5894FA
Tritanopia (blue-blind)
#00B0BF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #5f9afc;
/* rgb */ color: rgb(95, 154, 252);
/* oklch */ color: oklch(69.1% 0.158 260.0);
Tailwind
colors: {
  custom: {
    50: '#99b7fe',
    500: '#5f9afc',
    950: '#000000',
  },
}
SCSS
$custom: #5f9afc;
$custom-light: #99b7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9afc",
  "rgb": {
    "r": 95,
    "g": 154,
    "b": 252
  },
  "hsl": {
    "h": 217.452,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.6911,
    "c": 0.15756,
    "h": 260
  },
  "luminance": 0.32572
}

Semantic roles & 50–950 ramp

primary
#5F9AFC
secondary
#F3E1C3
accent
#8F00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5F9AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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