#5F6AF2#5F6AF2

#5F6AF2 is a mid, highly saturated blue. Relative luminance 0.192; OKLCH L 59.1% C 0.201 H 274.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5F6AF2
RGBrgb(95, 106, 242)
HSLhsl(236, 85%, 66%)
HSVhsv(236, 61%, 95%)
CMYKcmyk(60.7%, 56.2%, 0%, 5.1%)
CIE-LABlab(50.86, 35.94, -69.82)
CIE-LCHlch(50.86, 78.53, 297.24°)
OKLaboklab(59.06% 0.0172 -0.2006)
OKLCHoklch(59.06% 0.201 274.9)
XYZxyz(25.8951, 19.1497, 86.3188)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6AF2 #F2E75F
analogous
#5FB3F2 #5F6AF2 #9D5FF2
triadic
#5F6AF2 #F25F6A #6AF25F
tetradic
#5F6AF2 #F25FB3 #F2E75F #5FF29D
square
#5F6AF2 #F25FB3 #F2E75F #5FF29D
split-complementary
#5F6AF2 #F29D5F #B3F25F
monochromatic
#101EC6 #2635ED #5F6AF2 #989FF7 #D0D3FB

Accessibility & contrast

On white

4.35
#5F6AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#5F6AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6AF2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6AF2#FFFFFF#000000##000000
##5F6AF21.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f6af2;
/* rgb */ color: rgb(95, 106, 242);
/* oklch */ color: oklch(59.1% 0.201 274.9);
Tailwind
colors: {
  custom: {
    50: '#9a94f7',
    500: '#5f6af2',
    950: '#000000',
  },
}
SCSS
$custom: #5f6af2;
$custom-light: #9a94f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6af2",
  "rgb": {
    "r": 95,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 235.51,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.5906,
    "c": 0.20134,
    "h": 274.9
  },
  "luminance": 0.19152
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F6AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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