#5F99FA#5F99FA

#5F99FA is a light, vivid blue. Relative luminance 0.321; OKLCH L 68.8% C 0.156 H 260.1°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#5F99FA
RGBrgb(95, 153, 250)
HSLhsl(218, 94%, 68%)
HSVhsv(218, 62%, 98%)
CMYKcmyk(62%, 38.8%, 0%, 2%)
CIE-LABlab(63.44, 10.29, -54.06)
CIE-LCHlch(63.44, 55.03, 280.78°)
OKLaboklab(68.79% -0.0268 -0.1537)
OKLCHoklch(68.79% 0.156 260.1)
XYZxyz(33.3598, 32.1144, 94.8646)
Luminance0.3212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F99FA #FAC05F
analogous
#5FE7FA #5F99FA #725FFA
triadic
#5F99FA #FA5F99 #99FA5F
tetradic
#5F99FA #FA5FE7 #FAC05F #5FFA72
square
#5F99FA #FA5FE7 #FAC05F #5FFA72
split-complementary
#5F99FA #FA725F #E7FA5F
monochromatic
#0755D8 #2473F8 #5F99FA #9ABFFC #D6E5FE

Accessibility & contrast

On white

2.83
#5F99FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#5F99FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F99FA
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F99FA#FFFFFF#000000##000000
##5F99FA1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA1FE
Deuteranopia (green-blind)
#5893F8
Tritanopia (blue-blind)
#00AFBD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5f99fa;
/* rgb */ color: rgb(95, 153, 250);
/* oklch */ color: oklch(68.8% 0.156 260.1);
Tailwind
colors: {
  custom: {
    50: '#99b6fc',
    500: '#5f99fa',
    950: '#000000',
  },
}
SCSS
$custom: #5f99fa;
$custom-light: #99b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5f99fa",
  "rgb": {
    "r": 95,
    "g": 153,
    "b": 250
  },
  "hsl": {
    "h": 217.548,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68787,
    "c": 0.15602,
    "h": 260.1
  },
  "luminance": 0.32117
}

Semantic roles & 50–950 ramp

primary
#5F99FA
secondary
#F2E0C2
accent
#9000E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5F99FA

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

Preview Lab → · Contrast checker → · Palette generator →

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