#5F7ADD#5F7ADD

#5F7ADD is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.7% C 0.153 H 269.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5F7ADD
RGBrgb(95, 122, 221)
HSLhsl(227, 65%, 62%)
HSVhsv(227, 57%, 87%)
CMYKcmyk(57%, 44.8%, 0%, 13.3%)
CIE-LABlab(53.57, 19.32, -53.69)
CIE-LCHlch(53.57, 57.06, 289.79°)
OKLaboklab(60.68% -0.0003 -0.153)
OKLCHoklch(60.68% 0.153 269.9)
XYZxyz(24.7257, 21.5705, 71.2532)
Luminance0.2157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7ADD #DDC25F
analogous
#5FB9DD #5F7ADD #835FDD
triadic
#5F7ADD #DD5F7A #7ADD5F
tetradic
#5F7ADD #DD5FB9 #DDC25F #5FDD83
square
#5F7ADD #DD5FB9 #DDC25F #5FDD83
split-complementary
#5F7ADD #DD835F #B9DD5F
monochromatic
#223DA0 #2D50D2 #5F7ADD #91A4E8 #C4CEF2

Accessibility & contrast

On white

3.95
#5F7ADD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5F7ADD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7ADD
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7ADD#FFFFFF#000000##000000
##5F7ADD1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D86E1
Deuteranopia (green-blind)
#3C7BDB
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5f7add;
/* rgb */ color: rgb(95, 122, 221);
/* oklch */ color: oklch(60.7% 0.153 269.9);
Tailwind
colors: {
  custom: {
    50: '#96a0e8',
    500: '#5f7add',
    950: '#000000',
  },
}
SCSS
$custom: #5f7add;
$custom-light: #96a0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7add",
  "rgb": {
    "r": 95,
    "g": 122,
    "b": 221
  },
  "hsl": {
    "h": 227.143,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60676,
    "c": 0.15299,
    "h": 269.9
  },
  "luminance": 0.21572
}

Semantic roles & 50–950 ramp

primary
#5F7ADD
secondary
#E3D9B5
accent
#A619CD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F7ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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