#5F9EFC#5F9EFC

#5F9EFC is a light, vivid blue. Relative luminance 0.339; OKLCH L 70.0% C 0.153 H 258.2°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#5F9EFC
RGBrgb(95, 158, 252)
HSLhsl(216, 96%, 68%)
HSVhsv(216, 62%, 99%)
CMYKcmyk(62.3%, 37.3%, 0%, 1.2%)
CIE-LABlab(64.89, 8.03, -52.84)
CIE-LCHlch(64.89, 53.45, 278.64°)
OKLaboklab(69.95% -0.0313 -0.1501)
OKLCHoklch(69.95% 0.153 258.2)
XYZxyz(34.5106, 33.9117, 96.8035)
Luminance0.3392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9EFC #FCBD5F
analogous
#5FECFC #5F9EFC #6F5FFC
triadic
#5F9EFC #FC5F9E #9EFC5F
tetradic
#5F9EFC #FC5FEC #FCBD5F #5FFC6F
square
#5F9EFC #FC5FEC #FCBD5F #5FFC6F
split-complementary
#5F9EFC #FC6F5F #ECFC5F
monochromatic
#045BDC #237AFB #5F9EFC #9BC2FD #D7E7FE

Accessibility & contrast

On white

2.70
#5F9EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#5F9EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9EFC
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9EFC#FFFFFF#000000##000000
##5F9EFC1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A5FF
Deuteranopia (green-blind)
#5F97FA
Tritanopia (blue-blind)
#00B3C1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5f9efc;
/* rgb */ color: rgb(95, 158, 252);
/* oklch */ color: oklch(70.0% 0.153 258.2);
Tailwind
colors: {
  custom: {
    50: '#99bafe',
    500: '#5f9efc',
    950: '#000000',
  },
}
SCSS
$custom: #5f9efc;
$custom-light: #99bafe;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9efc",
  "rgb": {
    "r": 95,
    "g": 158,
    "b": 252
  },
  "hsl": {
    "h": 215.924,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.6995,
    "c": 0.15333,
    "h": 258.2
  },
  "luminance": 0.33915
}

Semantic roles & 50–950 ramp

primary
#5F9EFC
secondary
#F3E0C3
accent
#8900E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5F9EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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