#5F66F7#5F66F7

#5F66F7 is a mid, highly saturated blue. Relative luminance 0.187; OKLCH L 58.7% C 0.213 H 275.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5F66F7
RGBrgb(95, 102, 247)
HSLhsl(237, 90%, 67%)
HSVhsv(237, 62%, 97%)
CMYKcmyk(61.5%, 58.7%, 0%, 3.1%)
CIE-LABlab(50.27, 39.96, -73.57)
CIE-LCHlch(50.27, 83.72, 298.51°)
OKLaboklab(58.74% 0.0207 -0.2116)
OKLCHoklch(58.74% 0.213 275.6)
XYZxyz(26.2537, 18.6489, 90.1937)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F66F7 #F7F05F
analogous
#5FB2F7 #5F66F7 #A45FF7
triadic
#5F66F7 #F75F66 #66F75F
tetradic
#5F66F7 #F75FB2 #F7F05F #5FF7A4
square
#5F66F7 #F75FB2 #F7F05F #5FF7A4
split-complementary
#5F66F7 #F7A45F #B2F75F
monochromatic
#0A14D1 #252EF4 #5F66F7 #999EFA #D4D5FD

Accessibility & contrast

On white

4.44
#5F66F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#5F66F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F66F7
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F66F7#FFFFFF#000000##000000
##5F66F71.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFC
Deuteranopia (green-blind)
#0071F4
Tritanopia (blue-blind)
#0089A5
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5f66f7;
/* rgb */ color: rgb(95, 102, 247);
/* oklch */ color: oklch(58.7% 0.213 275.6);
Tailwind
colors: {
  custom: {
    50: '#9b91fb',
    500: '#5f66f7',
    950: '#000000',
  },
}
SCSS
$custom: #5f66f7;
$custom-light: #9b91fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f66f7",
  "rgb": {
    "r": 95,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 237.237,
    "s": 90.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.58736,
    "c": 0.21265,
    "h": 275.6
  },
  "luminance": 0.18651
}

Semantic roles & 50–950 ramp

primary
#5F66F7
secondary
#F1EFC1
accent
#DB00E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #5F66F7

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

Preview Lab → · Contrast checker → · Palette generator →

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