#5F6DF4#5F6DF4

#5F6DF4 is a mid, highly saturated blue. Relative luminance 0.199; OKLCH L 59.7% C 0.200 H 274.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5F6DF4
RGBrgb(95, 109, 244)
HSLhsl(234, 87%, 66%)
HSVhsv(234, 61%, 96%)
CMYKcmyk(61.1%, 55.3%, 0%, 4.3%)
CIE-LABlab(51.72, 34.78, -69.54)
CIE-LCHlch(51.72, 77.75, 296.57°)
OKLaboklab(59.75% 0.0146 -0.1997)
OKLCHoklch(59.75% 0.2 274.2)
XYZxyz(26.5117, 19.8997, 88.0143)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6DF4 #F4E65F
analogous
#5FB8F4 #5F6DF4 #9C5FF4
triadic
#5F6DF4 #F45F6D #6DF45F
tetradic
#5F6DF4 #F45FB8 #F4E65F #5FF49C
square
#5F6DF4 #F45FB8 #F4E65F #5FF49C
split-complementary
#5F6DF4 #F49C5F #B8F45F
monochromatic
#0E20CB #2639F0 #5F6DF4 #98A1F8 #D2D6FC

Accessibility & contrast

On white

4.22
#5F6DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5F6DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6DF4
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6DF4#FFFFFF#000000##000000
##5F6DF41.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F9
Deuteranopia (green-blind)
#0075F1
Tritanopia (blue-blind)
#008DA6
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5f6df4;
/* rgb */ color: rgb(95, 109, 244);
/* oklch */ color: oklch(59.7% 0.200 274.2);
Tailwind
colors: {
  custom: {
    50: '#9a96f9',
    500: '#5f6df4',
    950: '#000000',
  },
}
SCSS
$custom: #5f6df4;
$custom-light: #9a96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6df4",
  "rgb": {
    "r": 95,
    "g": 109,
    "b": 244
  },
  "hsl": {
    "h": 234.362,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59746,
    "c": 0.20028,
    "h": 274.2
  },
  "luminance": 0.19902
}

Semantic roles & 50–950 ramp

primary
#5F6DF4
secondary
#F0EBBF
accent
#CE02E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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