#5F8BED#5F8BED

#5F8BED is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.1% C 0.154 H 264.3°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5F8BED
RGBrgb(95, 139, 237)
HSLhsl(221, 80%, 65%)
HSVhsv(221, 60%, 93%)
CMYKcmyk(59.9%, 41.4%, 0%, 7.1%)
CIE-LABlab(58.98, 14.30, -53.99)
CIE-LCHlch(58.98, 55.85, 284.84°)
OKLaboklab(65.12% -0.0153 -0.1537)
OKLCHoklch(65.12% 0.154 264.3)
XYZxyz(29.2327, 27.0100, 83.7773)
Luminance0.2701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8BED #EDC15F
analogous
#5FD2ED #5F8BED #7A5FED
triadic
#5F8BED #ED5F8B #8BED5F
tetradic
#5F8BED #ED5FD2 #EDC15F #5FED7A
square
#5F8BED #ED5FD2 #EDC15F #5FED7A
split-complementary
#5F8BED #ED7A5F #D2ED5F
monochromatic
#1549BC #2863E7 #5F8BED #96B3F3 #CDDBF9

Accessibility & contrast

On white

3.28
#5F8BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#5F8BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8BED
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8BED#FFFFFF#000000##000000
##5F8BED1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F95F1
Deuteranopia (green-blind)
#4B88EB
Tritanopia (blue-blind)
#00A1B0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5f8bed;
/* rgb */ color: rgb(95, 139, 237);
/* oklch */ color: oklch(65.1% 0.154 264.3);
Tailwind
colors: {
  custom: {
    50: '#98acf3',
    500: '#5f8bed',
    950: '#000000',
  },
}
SCSS
$custom: #5f8bed;
$custom-light: #98acf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8bed",
  "rgb": {
    "r": 95,
    "g": 139,
    "b": 237
  },
  "hsl": {
    "h": 221.408,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65121,
    "c": 0.15442,
    "h": 264.3
  },
  "luminance": 0.27013
}

Semantic roles & 50–950 ramp

primary
#5F8BED
secondary
#ECDDBC
accent
#9B09DC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5F8BED

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

Preview Lab → · Contrast checker → · Palette generator →

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