#5F9CFC#5F9CFC

#5F9CFC is a light, vivid blue. Relative luminance 0.332; OKLCH L 69.5% C 0.155 H 259.1°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#5F9CFC
RGBrgb(95, 156, 252)
HSLhsl(217, 96%, 68%)
HSVhsv(217, 62%, 99%)
CMYKcmyk(62.3%, 38.1%, 0%, 1.2%)
CIE-LABlab(64.35, 9.20, -53.70)
CIE-LCHlch(64.35, 54.48, 279.72°)
OKLaboklab(69.53% -0.0293 -0.1526)
OKLCHoklch(69.53% 0.155 259.1)
XYZxyz(34.1722, 33.2349, 96.6907)
Luminance0.3324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9CFC #FCBF5F
analogous
#5FEAFC #5F9CFC #705FFC
triadic
#5F9CFC #FC5F9C #9CFC5F
tetradic
#5F9CFC #FC5FEA #FCBF5F #5FFC70
square
#5F9CFC #FC5FEA #FCBF5F #5FFC70
split-complementary
#5F9CFC #FC705F #EAFC5F
monochromatic
#0458DC #2377FB #5F9CFC #9BC1FD #D7E6FE

Accessibility & contrast

On white

2.75
#5F9CFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#5F9CFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9CFC
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9CFC#FFFFFF#000000##000000
##5F9CFC1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A4FF
Deuteranopia (green-blind)
#5C95FA
Tritanopia (blue-blind)
#00B2C0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5f9cfc;
/* rgb */ color: rgb(95, 156, 252);
/* oklch */ color: oklch(69.5% 0.155 259.1);
Tailwind
colors: {
  custom: {
    50: '#99b8fe',
    500: '#5f9cfc',
    950: '#000000',
  },
}
SCSS
$custom: #5f9cfc;
$custom-light: #99b8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9cfc",
  "rgb": {
    "r": 95,
    "g": 156,
    "b": 252
  },
  "hsl": {
    "h": 216.688,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69529,
    "c": 0.15542,
    "h": 259.1
  },
  "luminance": 0.33238
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F9CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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