#5F9BF0#5F9BF0

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

Color values

HEX#5F9BF0
RGBrgb(95, 155, 240)
HSLhsl(215, 83%, 66%)
HSVhsv(215, 60%, 94%)
CMYKcmyk(60.4%, 35.4%, 0%, 5.9%)
CIE-LABlab(63.48, 5.85, -48.51)
CIE-LCHlch(63.48, 48.86, 276.87°)
OKLaboklab(68.66% -0.0311 -0.1375)
OKLCHoklch(68.66% 0.141 257.3)
XYZxyz(32.1633, 32.1639, 86.9345)
Luminance0.3217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9BF0 #F0B45F
analogous
#5FE4F0 #5F9BF0 #6B5FF0
triadic
#5F9BF0 #F05F9B #9BF05F
tetradic
#5F9BF0 #F05FE4 #F0B45F #5FF06B
square
#5F9BF0 #F05FE4 #F0B45F #5FF06B
split-complementary
#5F9BF0 #F06B5F #E4F05F
monochromatic
#125BC2 #2778EB #5F9BF0 #97BEF5 #CFE1FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F9BF0#FFFFFF#000000##000000
##5F9BF01.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)
#77A1F4
Deuteranopia (green-blind)
#6393EE
Tritanopia (blue-blind)
#00AEBA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5f9bf0;
/* rgb */ color: rgb(95, 155, 240);
/* oklch */ color: oklch(68.7% 0.141 257.3);
Tailwind
colors: {
  custom: {
    50: '#98b8f5',
    500: '#5f9bf0',
    950: '#000000',
  },
}
SCSS
$custom: #5f9bf0;
$custom-light: #98b8f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9bf0",
  "rgb": {
    "r": 95,
    "g": 155,
    "b": 240
  },
  "hsl": {
    "h": 215.172,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.68655,
    "c": 0.14093,
    "h": 257.3
  },
  "luminance": 0.32167
}

Semantic roles & 50–950 ramp

primary
#5F9BF0
secondary
#EEDABD
accent
#8506DF
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5F9BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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