#5F6BF0#5F6BF0

#5F6BF0 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 59.1% C 0.197 H 274.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5F6BF0
RGBrgb(95, 107, 240)
HSLhsl(235, 83%, 66%)
HSVhsv(235, 60%, 94%)
CMYKcmyk(60.4%, 55.4%, 0%, 5.9%)
CIE-LABlab(50.96, 34.68, -68.54)
CIE-LCHlch(50.96, 76.82, 296.84°)
OKLaboklab(59.09% 0.0163 -0.1968)
OKLCHoklch(59.09% 0.197 274.7)
XYZxyz(25.7000, 19.2375, 84.7801)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6BF0 #F0E45F
analogous
#5FB4F0 #5F6BF0 #9B5FF0
triadic
#5F6BF0 #F05F6B #6BF05F
tetradic
#5F6BF0 #F05FB4 #F0E45F #5FF09B
square
#5F6BF0 #F05FB4 #F0E45F #5FF09B
split-complementary
#5F6BF0 #F09B5F #B4F05F
monochromatic
#1221C2 #2737EB #5F6BF0 #979FF5 #CFD3FA

Accessibility & contrast

On white

4.33
#5F6BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#5F6BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6BF0
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6BF0#FFFFFF#000000##000000
##5F6BF01.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F5
Deuteranopia (green-blind)
#0073ED
Tritanopia (blue-blind)
#008BA3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5f6bf0;
/* rgb */ color: rgb(95, 107, 240);
/* oklch */ color: oklch(59.1% 0.197 274.7);
Tailwind
colors: {
  custom: {
    50: '#9995f6',
    500: '#5f6bf0',
    950: '#000000',
  },
}
SCSS
$custom: #5f6bf0;
$custom-light: #9995f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6bf0",
  "rgb": {
    "r": 95,
    "g": 107,
    "b": 240
  },
  "hsl": {
    "h": 235.034,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59092,
    "c": 0.19749,
    "h": 274.7
  },
  "luminance": 0.1924
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F6BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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