#5F6DF0#5F6DF0

#5F6DF0 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.5% C 0.195 H 274.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5F6DF0
RGBrgb(95, 109, 240)
HSLhsl(234, 83%, 66%)
HSVhsv(234, 60%, 94%)
CMYKcmyk(60.4%, 54.6%, 0%, 5.9%)
CIE-LABlab(51.45, 33.47, -67.75)
CIE-LCHlch(51.45, 75.57, 296.29°)
OKLaboklab(59.46% 0.0144 -0.1945)
OKLCHoklch(59.46% 0.195 274.2)
XYZxyz(25.9110, 19.6594, 84.8504)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6DF0 #F0E25F
analogous
#5FB5F0 #5F6DF0 #995FF0
triadic
#5F6DF0 #F05F6D #6DF05F
tetradic
#5F6DF0 #F05FB5 #F0E25F #5FF099
square
#5F6DF0 #F05FB5 #F0E25F #5FF099
split-complementary
#5F6DF0 #F0995F #B5F05F
monochromatic
#1223C2 #273AEB #5F6DF0 #97A0F5 #CFD3FA

Accessibility & contrast

On white

4.26
#5F6DF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#5F6DF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6DF0
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6DF0#FFFFFF#000000##000000
##5F6DF01.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F4
Deuteranopia (green-blind)
#0074ED
Tritanopia (blue-blind)
#008CA4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5f6df0;
/* rgb */ color: rgb(95, 109, 240);
/* oklch */ color: oklch(59.5% 0.195 274.2);
Tailwind
colors: {
  custom: {
    50: '#9996f6',
    500: '#5f6df0',
    950: '#000000',
  },
}
SCSS
$custom: #5f6df0;
$custom-light: #9996f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6df0",
  "rgb": {
    "r": 95,
    "g": 109,
    "b": 240
  },
  "hsl": {
    "h": 234.207,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59455,
    "c": 0.19503,
    "h": 274.2
  },
  "luminance": 0.19661
}

Semantic roles & 50–950 ramp

primary
#5F6DF0
secondary
#EEE9BD
accent
#CA06DF
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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