#5F6EF6#5F6EF6

#5F6EF6 is a mid, highly saturated blue. Relative luminance 0.202; OKLCH L 60.1% C 0.202 H 273.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5F6EF6
RGBrgb(95, 110, 246)
HSLhsl(234, 89%, 67%)
HSVhsv(234, 61%, 96%)
CMYKcmyk(61.4%, 55.3%, 0%, 3.5%)
CIE-LABlab(52.10, 34.83, -70.04)
CIE-LCHlch(52.10, 78.22, 296.44°)
OKLaboklab(60.07% 0.0137 -0.2012)
OKLCHoklch(60.07% 0.202 273.9)
XYZxyz(26.9243, 20.2364, 89.6581)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6EF6 #F6E75F
analogous
#5FB9F6 #5F6EF6 #9C5FF6
triadic
#5F6EF6 #F65F6E #6EF65F
tetradic
#5F6EF6 #F65FB9 #F6E75F #5FF69C
square
#5F6EF6 #F65FB9 #F6E75F #5FF69C
split-complementary
#5F6EF6 #F69C5F #B9F65F
monochromatic
#0C1FCF #2539F3 #5F6EF6 #99A3F9 #D3D7FD

Accessibility & contrast

On white

4.16
#5F6EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#5F6EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6EF6
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6EF6#FFFFFF#000000##000000
##5F6EF61.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FB
Deuteranopia (green-blind)
#0076F3
Tritanopia (blue-blind)
#008EA7
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5f6ef6;
/* rgb */ color: rgb(95, 110, 246);
/* oklch */ color: oklch(60.1% 0.202 273.9);
Tailwind
colors: {
  custom: {
    50: '#9a97fa',
    500: '#5f6ef6',
    950: '#000000',
  },
}
SCSS
$custom: #5f6ef6;
$custom-light: #9a97fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6ef6",
  "rgb": {
    "r": 95,
    "g": 110,
    "b": 246
  },
  "hsl": {
    "h": 234.04,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60073,
    "c": 0.20167,
    "h": 273.9
  },
  "luminance": 0.20239
}

Semantic roles & 50–950 ramp

primary
#5F6EF6
secondary
#F1ECC0
accent
#CF00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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