#5F7AE0#5F7AE0

#5F7AE0 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.9% C 0.157 H 270.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5F7AE0
RGBrgb(95, 122, 224)
HSLhsl(227, 68%, 63%)
HSVhsv(227, 58%, 88%)
CMYKcmyk(57.6%, 45.5%, 0%, 12.2%)
CIE-LABlab(53.74, 20.30, -55.10)
CIE-LCHlch(53.74, 58.72, 290.22°)
OKLaboklab(60.86% 0.0002 -0.1571)
OKLCHoklch(60.86% 0.157 270.1)
XYZxyz(25.1289, 21.7318, 73.3770)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7AE0 #E0C55F
analogous
#5FBAE0 #5F7AE0 #855FE0
triadic
#5F7AE0 #E05F7A #7AE05F
tetradic
#5F7AE0 #E05FBA #E0C55F #5FE085
square
#5F7AE0 #E05FBA #E0C55F #5FE085
split-complementary
#5F7AE0 #E0855F #BAE05F
monochromatic
#203CA5 #2C4FD6 #5F7AE0 #92A5EA #C6CFF4

Accessibility & contrast

On white

3.93
#5F7AE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5F7AE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7AE0
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7AE0#FFFFFF#000000##000000
##5F7AE01.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B86E4
Deuteranopia (green-blind)
#387BDE
Tritanopia (blue-blind)
#0091A2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5f7ae0;
/* rgb */ color: rgb(95, 122, 224);
/* oklch */ color: oklch(60.9% 0.157 270.1);
Tailwind
colors: {
  custom: {
    50: '#96a0ea',
    500: '#5f7ae0',
    950: '#000000',
  },
}
SCSS
$custom: #5f7ae0;
$custom-light: #96a0ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7ae0",
  "rgb": {
    "r": 95,
    "g": 122,
    "b": 224
  },
  "hsl": {
    "h": 227.442,
    "s": 67.539,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60864,
    "c": 0.15714,
    "h": 270.1
  },
  "luminance": 0.21734
}

Semantic roles & 50–950 ramp

primary
#5F7AE0
secondary
#E5DBB6
accent
#A916CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F7AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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