#5F6BF2#5F6BF2

#5F6BF2 is a mid, highly saturated blue. Relative luminance 0.194; OKLCH L 59.2% C 0.200 H 274.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5F6BF2
RGBrgb(95, 107, 242)
HSLhsl(235, 85%, 66%)
HSVhsv(235, 61%, 95%)
CMYKcmyk(60.7%, 55.8%, 0%, 5.1%)
CIE-LABlab(51.10, 35.34, -69.43)
CIE-LCHlch(51.10, 77.91, 296.97°)
OKLaboklab(59.24% 0.0163 -0.1994)
OKLCHoklch(59.24% 0.2 274.7)
XYZxyz(25.9988, 19.3570, 86.3534)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6BF2 #F2E65F
analogous
#5FB4F2 #5F6BF2 #9C5FF2
triadic
#5F6BF2 #F25F6B #6BF25F
tetradic
#5F6BF2 #F25FB4 #F2E65F #5FF29C
square
#5F6BF2 #F25FB4 #F2E65F #5FF29C
split-complementary
#5F6BF2 #F29C5F #B4F25F
monochromatic
#101FC6 #2637ED #5F6BF2 #989FF7 #D0D4FB

Accessibility & contrast

On white

4.31
#5F6BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#5F6BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6BF2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6BF2#FFFFFF#000000##000000
##5F6BF21.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#0073EF
Tritanopia (blue-blind)
#008BA4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f6bf2;
/* rgb */ color: rgb(95, 107, 242);
/* oklch */ color: oklch(59.2% 0.200 274.7);
Tailwind
colors: {
  custom: {
    50: '#9a95f7',
    500: '#5f6bf2',
    950: '#000000',
  },
}
SCSS
$custom: #5f6bf2;
$custom-light: #9a95f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6bf2",
  "rgb": {
    "r": 95,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 235.102,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59239,
    "c": 0.20012,
    "h": 274.7
  },
  "luminance": 0.19359
}

Semantic roles & 50–950 ramp

primary
#5F6BF2
secondary
#EFEBBE
accent
#CF04E1
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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