#5F8BF2#5F8BF2

#5F8BF2 is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.4% C 0.161 H 264.9°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#5F8BF2
RGBrgb(95, 139, 242)
HSLhsl(222, 85%, 66%)
HSVhsv(222, 61%, 95%)
CMYKcmyk(60.7%, 42.6%, 0%, 5.1%)
CIE-LABlab(59.26, 15.95, -56.32)
CIE-LCHlch(59.26, 58.53, 285.81°)
OKLaboklab(65.42% -0.0144 -0.1605)
OKLCHoklch(65.42% 0.161 264.9)
XYZxyz(29.9734, 27.3063, 87.6783)
Luminance0.2731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8BF2 #F2C65F
analogous
#5FD4F2 #5F8BF2 #7C5FF2
triadic
#5F8BF2 #F25F8B #8BF25F
tetradic
#5F8BF2 #F25FD4 #F2C65F #5FF27C
square
#5F8BF2 #F25FD4 #F2C65F #5FF27C
split-complementary
#5F8BF2 #F27C5F #D4F25F
monochromatic
#1047C6 #2662ED #5F8BF2 #98B4F7 #D0DDFB

Accessibility & contrast

On white

3.25
#5F8BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#5F8BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8BF2
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8BF2#FFFFFF#000000##000000
##5F8BF21.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C96F6
Deuteranopia (green-blind)
#4688F0
Tritanopia (blue-blind)
#00A2B3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5f8bf2;
/* rgb */ color: rgb(95, 139, 242);
/* oklch */ color: oklch(65.4% 0.161 264.9);
Tailwind
colors: {
  custom: {
    50: '#98acf7',
    500: '#5f8bf2',
    950: '#000000',
  },
}
SCSS
$custom: #5f8bf2;
$custom-light: #98acf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8bf2",
  "rgb": {
    "r": 95,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 222.041,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65419,
    "c": 0.16114,
    "h": 264.9
  },
  "luminance": 0.27309
}

Semantic roles & 50–950 ramp

primary
#5F8BF2
secondary
#EFE0BE
accent
#9F04E1
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5F8BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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