#5F9AF5#5F9AF5

#5F9AF5 is a light, vivid blue. Relative luminance 0.321; OKLCH L 68.7% C 0.148 H 258.8°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#5F9AF5
RGBrgb(95, 154, 245)
HSLhsl(216, 88%, 67%)
HSVhsv(216, 61%, 96%)
CMYKcmyk(61.2%, 37.1%, 0%, 3.9%)
CIE-LABlab(63.45, 8.06, -51.29)
CIE-LCHlch(63.45, 51.92, 278.93°)
OKLaboklab(68.72% -0.0289 -0.1456)
OKLCHoklch(68.72% 0.148 258.8)
XYZxyz(32.7505, 32.1337, 90.8450)
Luminance0.3214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9AF5 #F5BA5F
analogous
#5FE5F5 #5F9AF5 #6F5FF5
triadic
#5F9AF5 #F55F9A #9AF55F
tetradic
#5F9AF5 #F55FE5 #F5BA5F #5FF56F
square
#5F9AF5 #F55FE5 #F5BA5F #5FF56F
split-complementary
#5F9AF5 #F56F5F #E5F55F
monochromatic
#0D58CD #2576F1 #5F9AF5 #99BEF9 #D2E3FC

Accessibility & contrast

On white

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

On black

7.43
#5F9AF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9AF5
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9AF5#FFFFFF#000000##000000
##5F9AF51.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A1F9
Deuteranopia (green-blind)
#5E93F3
Tritanopia (blue-blind)
#00AFBC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5f9af5;
/* rgb */ color: rgb(95, 154, 245);
/* oklch */ color: oklch(68.7% 0.148 258.8);
Tailwind
colors: {
  custom: {
    50: '#98b7f9',
    500: '#5f9af5',
    950: '#000000',
  },
}
SCSS
$custom: #5f9af5;
$custom-light: #98b7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9af5",
  "rgb": {
    "r": 95,
    "g": 154,
    "b": 245
  },
  "hsl": {
    "h": 216.4,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68716,
    "c": 0.14844,
    "h": 258.8
  },
  "luminance": 0.32137
}

Semantic roles & 50–950 ramp

primary
#5F9AF5
secondary
#F0DDC0
accent
#8B01E5
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5F9AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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