#5F6BF4#5F6BF4

#5F6BF4 is a mid, highly saturated blue. Relative luminance 0.195; OKLCH L 59.4% C 0.203 H 274.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5F6BF4
RGBrgb(95, 107, 244)
HSLhsl(235, 87%, 66%)
HSVhsv(235, 61%, 96%)
CMYKcmyk(61.1%, 56.1%, 0%, 4.3%)
CIE-LABlab(51.24, 35.99, -70.32)
CIE-LCHlch(51.24, 79.00, 297.10°)
OKLaboklab(59.39% 0.0164 -0.2021)
OKLCHoklch(59.39% 0.203 274.6)
XYZxyz(26.3008, 19.4778, 87.9440)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6BF4 #F4E85F
analogous
#5FB6F4 #5F6BF4 #9E5FF4
triadic
#5F6BF4 #F45F6B #6BF45F
tetradic
#5F6BF4 #F45FB6 #F4E85F #5FF49E
square
#5F6BF4 #F45FB6 #F4E85F #5FF49E
split-complementary
#5F6BF4 #F49E5F #B6F45F
monochromatic
#0E1DCB #2636F0 #5F6BF4 #98A0F8 #D2D5FC

Accessibility & contrast

On white

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

On black

4.90
#5F6BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6BF4
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6BF4#FFFFFF#000000##000000
##5F6BF41.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f6bf4;
/* rgb */ color: rgb(95, 107, 244);
/* oklch */ color: oklch(59.4% 0.203 274.6);
Tailwind
colors: {
  custom: {
    50: '#9a95f9',
    500: '#5f6bf4',
    950: '#000000',
  },
}
SCSS
$custom: #5f6bf4;
$custom-light: #9a95f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6bf4",
  "rgb": {
    "r": 95,
    "g": 107,
    "b": 244
  },
  "hsl": {
    "h": 235.168,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59386,
    "c": 0.20272,
    "h": 274.6
  },
  "luminance": 0.1948
}

Semantic roles & 50–950 ramp

primary
#5F6BF4
secondary
#F0ECBF
accent
#D102E4
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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