#5F66F2#5F66F2

#5F66F2 is a mid, highly saturated blue. Relative luminance 0.183; OKLCH L 58.4% C 0.206 H 275.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5F66F2
RGBrgb(95, 102, 242)
HSLhsl(237, 85%, 66%)
HSVhsv(237, 61%, 95%)
CMYKcmyk(60.7%, 57.9%, 0%, 5.1%)
CIE-LABlab(49.91, 38.35, -71.37)
CIE-LCHlch(49.91, 81.02, 298.25°)
OKLaboklab(58.35% 0.0208 -0.2052)
OKLCHoklch(58.35% 0.206 275.8)
XYZxyz(25.4925, 18.3444, 86.1846)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F66F2 #F2EB5F
analogous
#5FAFF2 #5F66F2 #A15FF2
triadic
#5F66F2 #F25F66 #66F25F
tetradic
#5F66F2 #F25FAF #F2EB5F #5FF2A1
square
#5F66F2 #F25FAF #F2EB5F #5FF2A1
split-complementary
#5F66F2 #F2A15F #AFF25F
monochromatic
#1019C6 #2630ED #5F66F2 #989CF7 #D0D2FB

Accessibility & contrast

On white

4.50
#5F66F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#5F66F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F66F2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F66F2#FFFFFF#000000##000000
##5F66F21.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#0070EF
Tritanopia (blue-blind)
#0088A2
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5f66f2;
/* rgb */ color: rgb(95, 102, 242);
/* oklch */ color: oklch(58.4% 0.206 275.8);
Tailwind
colors: {
  custom: {
    50: '#9a91f7',
    500: '#5f66f2',
    950: '#000000',
  },
}
SCSS
$custom: #5f66f2;
$custom-light: #9a91f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f66f2",
  "rgb": {
    "r": 95,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 237.143,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58354,
    "c": 0.20623,
    "h": 275.8
  },
  "luminance": 0.18346
}

Semantic roles & 50–950 ramp

primary
#5F66F2
secondary
#EFECBE
accent
#D704E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #5F66F2

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

Preview Lab → · Contrast checker → · Palette generator →

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