#5F8BDF#5F8BDF

#5F8BDF is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.3% C 0.136 H 262.3°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5F8BDF
RGBrgb(95, 139, 223)
HSLhsl(219, 67%, 62%)
HSVhsv(219, 57%, 87%)
CMYKcmyk(57.4%, 37.7%, 0%, 12.5%)
CIE-LABlab(58.25, 9.72, -47.37)
CIE-LCHlch(58.25, 48.36, 281.60°)
OKLaboklab(64.31% -0.0181 -0.1343)
OKLCHoklch(64.31% 0.136 262.3)
XYZxyz(27.2666, 26.2236, 73.4225)
Luminance0.2623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8BDF #DFB35F
analogous
#5FCBDF #5F8BDF #735FDF
triadic
#5F8BDF #DF5F8B #8BDF5F
tetradic
#5F8BDF #DF5FCB #DFB35F #5FDF73
square
#5F8BDF #DF5FCB #DFB35F #5FDF73
split-complementary
#5F8BDF #DF735F #CBDF5F
monochromatic
#214DA3 #2C66D5 #5F8BDF #92B0E9 #C5D5F3

Accessibility & contrast

On white

3.36
#5F8BDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#5F8BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8BDF
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8BDF#FFFFFF#000000##000000
##5F8BDF1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6892E2
Deuteranopia (green-blind)
#5787DD
Tritanopia (blue-blind)
#009EAA
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5f8bdf;
/* rgb */ color: rgb(95, 139, 223);
/* oklch */ color: oklch(64.3% 0.136 262.3);
Tailwind
colors: {
  custom: {
    50: '#96ace9',
    500: '#5f8bdf',
    950: '#000000',
  },
}
SCSS
$custom: #5f8bdf;
$custom-light: #96ace9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8bdf",
  "rgb": {
    "r": 95,
    "g": 139,
    "b": 223
  },
  "hsl": {
    "h": 219.375,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64313,
    "c": 0.1355,
    "h": 262.3
  },
  "luminance": 0.26226
}

Semantic roles & 50–950 ramp

primary
#5F8BDF
secondary
#E4D4B6
accent
#8F17CF
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5F8BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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