#5F6AF0#5F6AF0

#5F6AF0 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.9% C 0.199 H 275.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5F6AF0
RGBrgb(95, 106, 240)
HSLhsl(235, 83%, 66%)
HSVhsv(235, 60%, 94%)
CMYKcmyk(60.4%, 55.8%, 0%, 5.9%)
CIE-LABlab(50.72, 35.29, -68.93)
CIE-LCHlch(50.72, 77.44, 297.11°)
OKLaboklab(58.91% 0.0172 -0.198)
OKLCHoklch(58.91% 0.199 275)
XYZxyz(25.5964, 19.0302, 84.7455)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6AF0 #F0E55F
analogous
#5FB3F0 #5F6AF0 #9C5FF0
triadic
#5F6AF0 #F05F6A #6AF05F
tetradic
#5F6AF0 #F05FB3 #F0E55F #5FF09C
square
#5F6AF0 #F05FB3 #F0E55F #5FF09C
split-complementary
#5F6AF0 #F09C5F #B3F05F
monochromatic
#1220C2 #2736EB #5F6AF0 #979EF5 #CFD2FA

Accessibility & contrast

On white

4.37
#5F6AF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#5F6AF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6AF0
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6AF0#FFFFFF#000000##000000
##5F6AF01.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF5
Deuteranopia (green-blind)
#0073ED
Tritanopia (blue-blind)
#008AA3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5f6af0;
/* rgb */ color: rgb(95, 106, 240);
/* oklch */ color: oklch(58.9% 0.199 275.0);
Tailwind
colors: {
  custom: {
    50: '#9994f6',
    500: '#5f6af0',
    950: '#000000',
  },
}
SCSS
$custom: #5f6af0;
$custom-light: #9994f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6af0",
  "rgb": {
    "r": 95,
    "g": 106,
    "b": 240
  },
  "hsl": {
    "h": 235.448,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58912,
    "c": 0.19872,
    "h": 275
  },
  "luminance": 0.19032
}

Semantic roles & 50–950 ramp

primary
#5F6AF0
secondary
#EEEABD
accent
#CF06DF
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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