#5F8AED#5F8AED

#5F8AED is a light, vivid blue. Relative luminance 0.267; OKLCH L 64.9% C 0.156 H 264.7°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5F8AED
RGBrgb(95, 138, 237)
HSLhsl(222, 80%, 65%)
HSVhsv(222, 60%, 93%)
CMYKcmyk(59.9%, 41.8%, 0%, 7.1%)
CIE-LABlab(58.72, 14.90, -54.41)
CIE-LCHlch(58.72, 56.41, 285.31°)
OKLaboklab(64.91% -0.0142 -0.1549)
OKLCHoklch(64.91% 0.156 264.7)
XYZxyz(29.0886, 26.7218, 83.7292)
Luminance0.2672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8AED #EDC25F
analogous
#5FD1ED #5F8AED #7B5FED
triadic
#5F8AED #ED5F8A #8AED5F
tetradic
#5F8AED #ED5FD1 #EDC25F #5FED7B
square
#5F8AED #ED5FD1 #EDC25F #5FED7B
split-complementary
#5F8AED #ED7B5F #D1ED5F
monochromatic
#1548BC #2862E7 #5F8AED #96B2F3 #CDDAF9

Accessibility & contrast

On white

3.31
#5F8AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#5F8AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8AED
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8AED#FFFFFF#000000##000000
##5F8AED1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E94F1
Deuteranopia (green-blind)
#4A87EB
Tritanopia (blue-blind)
#00A0B0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5f8aed;
/* rgb */ color: rgb(95, 138, 237);
/* oklch */ color: oklch(64.9% 0.156 264.7);
Tailwind
colors: {
  custom: {
    50: '#98abf3',
    500: '#5f8aed',
    950: '#000000',
  },
}
SCSS
$custom: #5f8aed;
$custom-light: #98abf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8aed",
  "rgb": {
    "r": 95,
    "g": 138,
    "b": 237
  },
  "hsl": {
    "h": 221.831,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64914,
    "c": 0.15558,
    "h": 264.7
  },
  "luminance": 0.26724
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F8AED

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

Preview Lab → · Contrast checker → · Palette generator →

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