#5F6CF0#5F6CF0

#5F6CF0 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.3% C 0.196 H 274.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5F6CF0
RGBrgb(95, 108, 240)
HSLhsl(235, 83%, 66%)
HSVhsv(235, 60%, 94%)
CMYKcmyk(60.4%, 55%, 0%, 5.9%)
CIE-LABlab(51.21, 34.08, -68.15)
CIE-LCHlch(51.21, 76.19, 296.57°)
OKLaboklab(59.27% 0.0154 -0.1957)
OKLCHoklch(59.27% 0.196 274.5)
XYZxyz(25.8049, 19.4472, 84.8150)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6CF0 #F0E35F
analogous
#5FB4F0 #5F6CF0 #9A5FF0
triadic
#5F6CF0 #F05F6C #6CF05F
tetradic
#5F6CF0 #F05FB4 #F0E35F #5FF09A
square
#5F6CF0 #F05FB4 #F0E35F #5FF09A
split-complementary
#5F6CF0 #F09A5F #B4F05F
monochromatic
#1222C2 #2739EB #5F6CF0 #979FF5 #CFD3FA

Accessibility & contrast

On white

4.29
#5F6CF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#5F6CF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6CF0
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6CF0#FFFFFF#000000##000000
##5F6CF01.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F5
Deuteranopia (green-blind)
#0074ED
Tritanopia (blue-blind)
#008BA4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f6cf0;
/* rgb */ color: rgb(95, 108, 240);
/* oklch */ color: oklch(59.3% 0.196 274.5);
Tailwind
colors: {
  custom: {
    50: '#9996f6',
    500: '#5f6cf0',
    950: '#000000',
  },
}
SCSS
$custom: #5f6cf0;
$custom-light: #9996f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6cf0",
  "rgb": {
    "r": 95,
    "g": 108,
    "b": 240
  },
  "hsl": {
    "h": 234.621,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59273,
    "c": 0.19626,
    "h": 274.5
  },
  "luminance": 0.19449
}

Semantic roles & 50–950 ramp

primary
#5F6CF0
secondary
#EEE9BD
accent
#CC06DF
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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