#5F9FFE#5F9FFE

#5F9FFE is a light, vivid blue. Relative luminance 0.344; OKLCH L 70.3% C 0.155 H 258.1°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#5F9FFE
RGBrgb(95, 159, 254)
HSLhsl(216, 99%, 68%)
HSVhsv(216, 63%, 100%)
CMYKcmyk(62.6%, 37.4%, 0%, 0.4%)
CIE-LABlab(65.26, 8.11, -53.34)
CIE-LCHlch(65.26, 53.96, 278.64°)
OKLaboklab(70.27% -0.0318 -0.1515)
OKLCHoklch(70.27% 0.155 258.1)
XYZxyz(35.0005, 34.3816, 98.5385)
Luminance0.3438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9FFE #FEBE5F
analogous
#5FEFFE #5F9FFE #6E5FFE
triadic
#5F9FFE #FE5F9F #9FFE5F
tetradic
#5F9FFE #FE5FEF #FEBE5F #5FFE6E
square
#5F9FFE #FE5FEF #FEBE5F #5FFE6E
split-complementary
#5F9FFE #FE6E5F #EFFE5F
monochromatic
#015BE1 #227BFE #5F9FFE #9CC3FE #D9E8FF

Accessibility & contrast

On white

2.67
#5F9FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#5F9FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9FFE
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9FFE#FFFFFF#000000##000000
##5F9FFE1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A7FF
Deuteranopia (green-blind)
#5F98FC
Tritanopia (blue-blind)
#00B5C2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5f9ffe;
/* rgb */ color: rgb(95, 159, 254);
/* oklch */ color: oklch(70.3% 0.155 258.1);
Tailwind
colors: {
  custom: {
    50: '#9abaff',
    500: '#5f9ffe',
    950: '#000000',
  },
}
SCSS
$custom: #5f9ffe;
$custom-light: #9abaff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9ffe",
  "rgb": {
    "r": 95,
    "g": 159,
    "b": 254
  },
  "hsl": {
    "h": 215.849,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70272,
    "c": 0.15486,
    "h": 258.1
  },
  "luminance": 0.34385
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F9FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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