#5F8BEF#5F8BEF

#5F8BEF is a light, vivid blue. Relative luminance 0.271; OKLCH L 65.2% C 0.157 H 264.6°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#5F8BEF
RGBrgb(95, 139, 239)
HSLhsl(222, 82%, 65%)
HSVhsv(222, 60%, 94%)
CMYKcmyk(60.3%, 41.8%, 0%, 6.3%)
CIE-LABlab(59.09, 14.96, -54.92)
CIE-LCHlch(59.09, 56.92, 285.24°)
OKLaboklab(65.24% -0.0149 -0.1564)
OKLCHoklch(65.24% 0.157 264.6)
XYZxyz(29.5266, 27.1276, 85.3248)
Luminance0.2713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8BEF #EFC35F
analogous
#5FD3EF #5F8BEF #7B5FEF
triadic
#5F8BEF #EF5F8B #8BEF5F
tetradic
#5F8BEF #EF5FD3 #EFC35F #5FEF7B
square
#5F8BEF #EF5FD3 #EFC35F #5FEF7B
split-complementary
#5F8BEF #EF7B5F #D3EF5F
monochromatic
#1348C0 #2763E9 #5F8BEF #97B3F5 #CEDCFA

Accessibility & contrast

On white

3.27
#5F8BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#5F8BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8BEF
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8BEF#FFFFFF#000000##000000
##5F8BEF1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E95F3
Deuteranopia (green-blind)
#4988ED
Tritanopia (blue-blind)
#00A1B1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5f8bef;
/* rgb */ color: rgb(95, 139, 239);
/* oklch */ color: oklch(65.2% 0.157 264.6);
Tailwind
colors: {
  custom: {
    50: '#98acf5',
    500: '#5f8bef',
    950: '#000000',
  },
}
SCSS
$custom: #5f8bef;
$custom-light: #98acf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8bef",
  "rgb": {
    "r": 95,
    "g": 139,
    "b": 239
  },
  "hsl": {
    "h": 221.667,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65239,
    "c": 0.15711,
    "h": 264.6
  },
  "luminance": 0.2713
}

Semantic roles & 50–950 ramp

primary
#5F8BEF
secondary
#EDDEBD
accent
#9D07DE
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5F8BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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