#5F66EF#5F66EF

#5F66EF is a mid, highly saturated blue. Relative luminance 0.182; OKLCH L 58.1% C 0.202 H 275.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5F66EF
RGBrgb(95, 102, 239)
HSLhsl(237, 82%, 65%)
HSVhsv(237, 60%, 94%)
CMYKcmyk(60.3%, 57.3%, 0%, 6.3%)
CIE-LABlab(49.70, 37.38, -70.04)
CIE-LCHlch(49.70, 79.39, 298.09°)
OKLaboklab(58.13% 0.0208 -0.2013)
OKLCHoklch(58.13% 0.202 275.9)
XYZxyz(25.0456, 18.1657, 83.8311)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F66EF #EFE85F
analogous
#5FAEEF #5F66EF #A05FEF
triadic
#5F66EF #EF5F66 #66EF5F
tetradic
#5F66EF #EF5FAE #EFE85F #5FEFA0
square
#5F66EF #EF5FAE #EFE85F #5FEFA0
split-complementary
#5F66EF #EFA05F #AEEF5F
monochromatic
#131CC0 #2731E9 #5F66EF #979BF5 #CED0FA

Accessibility & contrast

On white

4.53
#5F66EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#5F66EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F66EF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F66EF#FFFFFF#000000##000000
##5F66EF1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#0070EC
Tritanopia (blue-blind)
#0087A1
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5f66ef;
/* rgb */ color: rgb(95, 102, 239);
/* oklch */ color: oklch(58.1% 0.202 275.9);
Tailwind
colors: {
  custom: {
    50: '#9991f5',
    500: '#5f66ef',
    950: '#000000',
  },
}
SCSS
$custom: #5f66ef;
$custom-light: #9991f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f66ef",
  "rgb": {
    "r": 95,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 237.083,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58127,
    "c": 0.20234,
    "h": 275.9
  },
  "luminance": 0.18168
}

Semantic roles & 50–950 ramp

primary
#5F66EF
secondary
#EDEBBD
accent
#D407DE
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #5F66EF

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

Preview Lab → · Contrast checker → · Palette generator →

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