#5F8BF3#5F8BF3

#5F8BF3 is a light, vivid blue. Relative luminance 0.274; OKLCH L 65.5% C 0.162 H 265.0°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#5F8BF3
RGBrgb(95, 139, 243)
HSLhsl(222, 86%, 66%)
HSVhsv(222, 61%, 95%)
CMYKcmyk(60.9%, 42.8%, 0%, 4.7%)
CIE-LABlab(59.31, 16.28, -56.78)
CIE-LCHlch(59.31, 59.07, 286.00°)
OKLaboklab(65.48% -0.0142 -0.1619)
OKLCHoklch(65.48% 0.162 265)
XYZxyz(30.1240, 27.3666, 88.4714)
Luminance0.2737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8BF3 #F3C75F
analogous
#5FD5F3 #5F8BF3 #7D5FF3
triadic
#5F8BF3 #F35F8B #8BF35F
tetradic
#5F8BF3 #F35FD5 #F3C75F #5FF37D
square
#5F8BF3 #F35FD5 #F3C75F #5FF37D
split-complementary
#5F8BF3 #F37D5F #D5F35F
monochromatic
#0F46C9 #2662EF #5F8BF3 #98B4F7 #D1DEFC

Accessibility & contrast

On white

3.24
#5F8BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#5F8BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8BF3
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8BF3#FFFFFF#000000##000000
##5F8BF31.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B96F7
Deuteranopia (green-blind)
#4588F1
Tritanopia (blue-blind)
#00A2B3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5f8bf3;
/* rgb */ color: rgb(95, 139, 243);
/* oklch */ color: oklch(65.5% 0.162 265.0);
Tailwind
colors: {
  custom: {
    50: '#98acf7',
    500: '#5f8bf3',
    950: '#000000',
  },
}
SCSS
$custom: #5f8bf3;
$custom-light: #98acf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8bf3",
  "rgb": {
    "r": 95,
    "g": 139,
    "b": 243
  },
  "hsl": {
    "h": 222.162,
    "s": 86.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6548,
    "c": 0.16248,
    "h": 265
  },
  "luminance": 0.27369
}

Semantic roles & 50–950 ramp

primary
#5F8BF3
secondary
#EFE1BF
accent
#A003E3
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5F8BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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