#5F93E5#5F93E5

#5F93E5 is a light, vivid blue. Relative luminance 0.290; OKLCH L 66.3% C 0.135 H 259.2°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#5F93E5
RGBrgb(95, 147, 229)
HSLhsl(217, 72%, 64%)
HSVhsv(217, 59%, 90%)
CMYKcmyk(58.5%, 35.8%, 0%, 10.2%)
CIE-LABlab(60.74, 6.94, -46.76)
CIE-LCHlch(60.74, 47.27, 278.45°)
OKLaboklab(66.35% -0.0253 -0.1324)
OKLCHoklch(66.35% 0.135 259.2)
XYZxyz(29.2909, 28.9550, 78.1588)
Luminance0.2896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F93E5 #E5B15F
analogous
#5FD6E5 #5F93E5 #6E5FE5
triadic
#5F93E5 #E55F93 #93E55F
tetradic
#5F93E5 #E55FD6 #E5B15F #5FE56E
square
#5F93E5 #E55FD6 #E5B15F #5FE56E
split-complementary
#5F93E5 #E56E5F #D6E55F
monochromatic
#1C55AD #2A6FDC #5F93E5 #94B7EE #C8DAF6

Accessibility & contrast

On white

3.09
#5F93E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#5F93E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F93E5
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F93E5#FFFFFF#000000##000000
##5F93E51.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7199E8
Deuteranopia (green-blind)
#5F8DE3
Tritanopia (blue-blind)
#00A5B1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5f93e5;
/* rgb */ color: rgb(95, 147, 229);
/* oklch */ color: oklch(66.3% 0.135 259.2);
Tailwind
colors: {
  custom: {
    50: '#96b2ed',
    500: '#5f93e5',
    950: '#000000',
  },
}
SCSS
$custom: #5f93e5;
$custom-light: #96b2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5f93e5",
  "rgb": {
    "r": 95,
    "g": 147,
    "b": 229
  },
  "hsl": {
    "h": 216.716,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66347,
    "c": 0.13484,
    "h": 259.2
  },
  "luminance": 0.28957
}

Semantic roles & 50–950 ramp

primary
#5F93E5
secondary
#E8D5B8
accent
#8911D4
background
#F9FAFE
surface
#F2F5FD
border
#CCCFD5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5F93E5

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

Preview Lab → · Contrast checker → · Palette generator →

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