#5F6BEF#5F6BEF

#5F6BEF is a mid, vivid blue. Relative luminance 0.192; OKLCH L 59.0% C 0.196 H 274.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5F6BEF
RGBrgb(95, 107, 239)
HSLhsl(235, 82%, 65%)
HSVhsv(235, 60%, 94%)
CMYKcmyk(60.3%, 55.2%, 0%, 6.3%)
CIE-LABlab(50.90, 34.36, -68.09)
CIE-LCHlch(50.90, 76.27, 296.77°)
OKLaboklab(59.02% 0.0163 -0.1955)
OKLCHoklch(59.02% 0.196 274.8)
XYZxyz(25.5519, 19.1783, 83.9999)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6BEF #EFE35F
analogous
#5FB3EF #5F6BEF #9B5FEF
triadic
#5F6BEF #EF5F6B #6BEF5F
tetradic
#5F6BEF #EF5FB3 #EFE35F #5FEF9B
square
#5F6BEF #EF5FB3 #EFE35F #5FEF9B
split-complementary
#5F6BEF #EF9B5F #B3EF5F
monochromatic
#1322C0 #2738E9 #5F6BEF #979EF5 #CED2FA

Accessibility & contrast

On white

4.34
#5F6BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#5F6BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6BEF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6BEF#FFFFFF#000000##000000
##5F6BEF1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#0073EC
Tritanopia (blue-blind)
#008AA3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5f6bef;
/* rgb */ color: rgb(95, 107, 239);
/* oklch */ color: oklch(59.0% 0.196 274.8);
Tailwind
colors: {
  custom: {
    50: '#9995f5',
    500: '#5f6bef',
    950: '#000000',
  },
}
SCSS
$custom: #5f6bef;
$custom-light: #9995f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6bef",
  "rgb": {
    "r": 95,
    "g": 107,
    "b": 239
  },
  "hsl": {
    "h": 235,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59019,
    "c": 0.19618,
    "h": 274.8
  },
  "luminance": 0.1918
}

Semantic roles & 50–950 ramp

primary
#5F6BEF
secondary
#EDE9BD
accent
#CC07DE
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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