#5F8EE5#5F8EE5

#5F8EE5 is a light, vivid blue. Relative luminance 0.274; OKLCH L 65.3% C 0.140 H 261.8°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#5F8EE5
RGBrgb(95, 142, 229)
HSLhsl(219, 72%, 64%)
HSVhsv(219, 59%, 90%)
CMYKcmyk(58.5%, 38%, 0%, 10.2%)
CIE-LABlab(59.37, 9.89, -48.93)
CIE-LCHlch(59.37, 49.92, 281.43°)
OKLaboklab(65.29% -0.02 -0.1388)
OKLCHoklch(65.29% 0.14 261.8)
XYZxyz(28.5303, 27.4336, 77.9053)
Luminance0.2744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8EE5 #E5B65F
analogous
#5FD1E5 #5F8EE5 #735FE5
triadic
#5F8EE5 #E55F8E #8EE55F
tetradic
#5F8EE5 #E55FD1 #E5B65F #5FE573
square
#5F8EE5 #E55FD1 #E5B65F #5FE573
split-complementary
#5F8EE5 #E5735F #D1E55F
monochromatic
#1C4FAD #2A69DC #5F8EE5 #94B3EE #C8D8F6

Accessibility & contrast

On white

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

On black

6.49
#5F8EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8EE5
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8EE5#FFFFFF#000000##000000
##5F8EE51.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6996E8
Deuteranopia (green-blind)
#5789E3
Tritanopia (blue-blind)
#00A1AE
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5f8ee5;
/* rgb */ color: rgb(95, 142, 229);
/* oklch */ color: oklch(65.3% 0.140 261.8);
Tailwind
colors: {
  custom: {
    50: '#96aeed',
    500: '#5f8ee5',
    950: '#000000',
  },
}
SCSS
$custom: #5f8ee5;
$custom-light: #96aeed;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8ee5",
  "rgb": {
    "r": 95,
    "g": 142,
    "b": 229
  },
  "hsl": {
    "h": 218.955,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.65285,
    "c": 0.14025,
    "h": 261.8
  },
  "luminance": 0.27436
}

Semantic roles & 50–950 ramp

primary
#5F8EE5
secondary
#E8D7B8
accent
#9011D4
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5F8EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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