#5F9FFA#5F9FFA

#5F9FFA is a light, vivid blue. Relative luminance 0.341; OKLCH L 70.1% C 0.150 H 257.4°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#5F9FFA
RGBrgb(95, 159, 250)
HSLhsl(215, 94%, 68%)
HSVhsv(215, 62%, 98%)
CMYKcmyk(62%, 36.4%, 0%, 2%)
CIE-LABlab(65.06, 6.79, -51.48)
CIE-LCHlch(65.06, 51.93, 277.52°)
OKLaboklab(70.05% -0.0327 -0.1461)
OKLCHoklch(70.05% 0.15 257.4)
XYZxyz(34.3666, 34.1281, 95.2002)
Luminance0.3413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9FFA #FABA5F
analogous
#5FECFA #5F9FFA #6D5FFA
triadic
#5F9FFA #FA5F9F #9FFA5F
tetradic
#5F9FFA #FA5FEC #FABA5F #5FFA6D
square
#5F9FFA #FA5FEC #FABA5F #5FFA6D
split-complementary
#5F9FFA #FA6D5F #ECFA5F
monochromatic
#075DD8 #247BF8 #5F9FFA #9AC3FC #D6E6FE

Accessibility & contrast

On white

2.68
#5F9FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#5F9FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9FFA
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9FFA#FFFFFF#000000##000000
##5F9FFA1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A6FE
Deuteranopia (green-blind)
#6297F8
Tritanopia (blue-blind)
#00B4C1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5f9ffa;
/* rgb */ color: rgb(95, 159, 250);
/* oklch */ color: oklch(70.1% 0.150 257.4);
Tailwind
colors: {
  custom: {
    50: '#99bafc',
    500: '#5f9ffa',
    950: '#000000',
  },
}
SCSS
$custom: #5f9ffa;
$custom-light: #99bafc;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9ffa",
  "rgb": {
    "r": 95,
    "g": 159,
    "b": 250
  },
  "hsl": {
    "h": 215.226,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70051,
    "c": 0.14973,
    "h": 257.4
  },
  "luminance": 0.34131
}

Semantic roles & 50–950 ramp

primary
#5F9FFA
secondary
#F2DFC2
accent
#8700E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5F9FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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