#5F66ED#5F66ED

#5F66ED is a mid, vivid blue. Relative luminance 0.180; OKLCH L 58.0% C 0.200 H 276.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5F66ED
RGBrgb(95, 102, 237)
HSLhsl(237, 80%, 65%)
HSVhsv(237, 60%, 93%)
CMYKcmyk(59.9%, 57%, 0%, 7.1%)
CIE-LABlab(49.55, 36.73, -69.15)
CIE-LCHlch(49.55, 78.30, 297.98°)
OKLaboklab(57.98% 0.0208 -0.1986)
OKLCHoklch(57.98% 0.2 276)
XYZxyz(24.7518, 18.0481, 82.2836)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F66ED #EDE65F
analogous
#5FADED #5F66ED #9F5FED
triadic
#5F66ED #ED5F66 #66ED5F
tetradic
#5F66ED #ED5FAD #EDE65F #5FED9F
square
#5F66ED #ED5FAD #EDE65F #5FED9F
split-complementary
#5F66ED #ED9F5F #ADED5F
monochromatic
#151DBC #2831E7 #5F66ED #969BF3 #CDCFF9

Accessibility & contrast

On white

4.56
#5F66ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#5F66ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F66ED
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F66ED#FFFFFF#000000##000000
##5F66ED1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF2
Deuteranopia (green-blind)
#0070EA
Tritanopia (blue-blind)
#0086A0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5f66ed;
/* rgb */ color: rgb(95, 102, 237);
/* oklch */ color: oklch(58.0% 0.200 276.0);
Tailwind
colors: {
  custom: {
    50: '#9991f4',
    500: '#5f66ed',
    950: '#000000',
  },
}
SCSS
$custom: #5f66ed;
$custom-light: #9991f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f66ed",
  "rgb": {
    "r": 95,
    "g": 102,
    "b": 237
  },
  "hsl": {
    "h": 237.042,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57976,
    "c": 0.19974,
    "h": 276
  },
  "luminance": 0.1805
}

Semantic roles & 50–950 ramp

primary
#5F66ED
secondary
#ECEABC
accent
#D209DC
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #5F66ED

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

Preview Lab → · Contrast checker → · Palette generator →

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