#5F6CF4#5F6CF4

#5F6CF4 is a mid, highly saturated blue. Relative luminance 0.197; OKLCH L 59.6% C 0.202 H 274.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5F6CF4
RGBrgb(95, 108, 244)
HSLhsl(235, 87%, 66%)
HSVhsv(235, 61%, 96%)
CMYKcmyk(61.1%, 55.7%, 0%, 4.3%)
CIE-LABlab(51.48, 35.38, -69.93)
CIE-LCHlch(51.48, 78.37, 296.84°)
OKLaboklab(59.57% 0.0155 -0.2009)
OKLCHoklch(59.57% 0.202 274.4)
XYZxyz(26.4056, 19.6875, 87.9790)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6CF4 #F4E75F
analogous
#5FB7F4 #5F6CF4 #9D5FF4
triadic
#5F6CF4 #F45F6C #6CF45F
tetradic
#5F6CF4 #F45FB7 #F4E75F #5FF49D
square
#5F6CF4 #F45FB7 #F4E75F #5FF49D
split-complementary
#5F6CF4 #F49D5F #B7F45F
monochromatic
#0E1ECB #2637F0 #5F6CF4 #98A1F8 #D2D5FC

Accessibility & contrast

On white

4.25
#5F6CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#5F6CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6CF4
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6CF4#FFFFFF#000000##000000
##5F6CF41.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F9
Deuteranopia (green-blind)
#0074F1
Tritanopia (blue-blind)
#008CA6
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5f6cf4;
/* rgb */ color: rgb(95, 108, 244);
/* oklch */ color: oklch(59.6% 0.202 274.4);
Tailwind
colors: {
  custom: {
    50: '#9a96f9',
    500: '#5f6cf4',
    950: '#000000',
  },
}
SCSS
$custom: #5f6cf4;
$custom-light: #9a96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6cf4",
  "rgb": {
    "r": 95,
    "g": 108,
    "b": 244
  },
  "hsl": {
    "h": 234.765,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59566,
    "c": 0.2015,
    "h": 274.4
  },
  "luminance": 0.1969
}

Semantic roles & 50–950 ramp

primary
#5F6CF4
secondary
#F0EBBF
accent
#D002E4
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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