#5F7AED#5F7AED

#5F7AED is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.7% C 0.175 H 270.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5F7AED
RGBrgb(95, 122, 237)
HSLhsl(229, 80%, 65%)
HSVhsv(229, 60%, 93%)
CMYKcmyk(59.9%, 48.5%, 0%, 7.1%)
CIE-LABlab(54.52, 24.57, -61.13)
CIE-LCHlch(54.52, 65.89, 291.90°)
OKLaboklab(61.7% 0.0018 -0.1749)
OKLCHoklch(61.7% 0.175 270.6)
XYZxyz(26.9598, 22.4642, 83.0196)
Luminance0.2247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7AED #EDD25F
analogous
#5FC1ED #5F7AED #8B5FED
triadic
#5F7AED #ED5F7A #7AED5F
tetradic
#5F7AED #ED5FC1 #EDD25F #5FED8B
square
#5F7AED #ED5FC1 #EDD25F #5FED8B
split-complementary
#5F7AED #ED8B5F #C1ED5F
monochromatic
#1535BC #284CE7 #5F7AED #96A8F3 #CDD5F9

Accessibility & contrast

On white

3.82
#5F7AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#5F7AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7AED
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7AED#FFFFFF#000000##000000
##5F7AED1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E89F1
Deuteranopia (green-blind)
#237CEB
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5f7aed;
/* rgb */ color: rgb(95, 122, 237);
/* oklch */ color: oklch(61.7% 0.175 270.6);
Tailwind
colors: {
  custom: {
    50: '#98a0f3',
    500: '#5f7aed',
    950: '#000000',
  },
}
SCSS
$custom: #5f7aed;
$custom-light: #98a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7aed",
  "rgb": {
    "r": 95,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 228.592,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61703,
    "c": 0.17488,
    "h": 270.6
  },
  "luminance": 0.22466
}

Semantic roles & 50–950 ramp

primary
#5F7AED
secondary
#ECE3BC
accent
#B409DC
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F7AED

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

Preview Lab → · Contrast checker → · Palette generator →

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