#5F8BF0#5F8BF0

#5F8BF0 is a light, vivid blue. Relative luminance 0.272; OKLCH L 65.3% C 0.158 H 264.7°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5F8BF0
RGBrgb(95, 139, 240)
HSLhsl(222, 83%, 66%)
HSVhsv(222, 60%, 94%)
CMYKcmyk(60.4%, 42.1%, 0%, 5.9%)
CIE-LABlab(59.15, 15.29, -55.39)
CIE-LCHlch(59.15, 57.46, 285.43°)
OKLaboklab(65.3% -0.0147 -0.1578)
OKLCHoklch(65.3% 0.158 264.7)
XYZxyz(29.6747, 27.1868, 86.1050)
Luminance0.2719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8BF0 #F0C45F
analogous
#5FD3F0 #5F8BF0 #7B5FF0
triadic
#5F8BF0 #F05F8B #8BF05F
tetradic
#5F8BF0 #F05FD3 #F0C45F #5FF07B
square
#5F8BF0 #F05FD3 #F0C45F #5FF07B
split-complementary
#5F8BF0 #F07B5F #D3F05F
monochromatic
#1248C2 #2762EB #5F8BF0 #97B4F5 #CFDCFA

Accessibility & contrast

On white

3.26
#5F8BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#5F8BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8BF0
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8BF0#FFFFFF#000000##000000
##5F8BF01.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D95F4
Deuteranopia (green-blind)
#4888EE
Tritanopia (blue-blind)
#00A2B2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5f8bf0;
/* rgb */ color: rgb(95, 139, 240);
/* oklch */ color: oklch(65.3% 0.158 264.7);
Tailwind
colors: {
  custom: {
    50: '#98acf5',
    500: '#5f8bf0',
    950: '#000000',
  },
}
SCSS
$custom: #5f8bf0;
$custom-light: #98acf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8bf0",
  "rgb": {
    "r": 95,
    "g": 139,
    "b": 240
  },
  "hsl": {
    "h": 221.793,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65299,
    "c": 0.15846,
    "h": 264.7
  },
  "luminance": 0.27189
}

Semantic roles & 50–950 ramp

primary
#5F8BF0
secondary
#EEDFBD
accent
#9D06DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5F8BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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