#5F66EA#5F66EA

#5F66EA is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.8% C 0.196 H 276.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5F66EA
RGBrgb(95, 102, 234)
HSLhsl(237, 77%, 65%)
HSVhsv(237, 59%, 92%)
CMYKcmyk(59.4%, 56.4%, 0%, 8.2%)
CIE-LABlab(49.34, 35.76, -67.81)
CIE-LCHlch(49.34, 76.66, 297.81°)
OKLaboklab(57.75% 0.0208 -0.1947)
OKLCHoklch(57.75% 0.196 276.1)
XYZxyz(24.3172, 17.8743, 79.9946)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F66EA #EAE35F
analogous
#5FACEA #5F66EA #9D5FEA
triadic
#5F66EA #EA5F66 #66EA5F
tetradic
#5F66EA #EA5FAC #EAE35F #5FEA9D
square
#5F66EA #EA5FAC #EAE35F #5FEA9D
split-complementary
#5F66EA #EA9D5F #ACEA5F
monochromatic
#1820B7 #2932E3 #5F66EA #959AF1 #CBCDF8

Accessibility & contrast

On white

4.59
#5F66EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5F66EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5F66EA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F66EA#FFFFFF#000000##FFFFFF
##5F66EA1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BEE
Deuteranopia (green-blind)
#006FE7
Tritanopia (blue-blind)
#00859E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5f66ea;
/* rgb */ color: rgb(95, 102, 234);
/* oklch */ color: oklch(57.8% 0.196 276.1);
Tailwind
colors: {
  custom: {
    50: '#9991f2',
    500: '#5f66ea',
    950: '#000000',
  },
}
SCSS
$custom: #5f66ea;
$custom-light: #9991f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f66ea",
  "rgb": {
    "r": 95,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 236.978,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57753,
    "c": 0.19582,
    "h": 276.1
  },
  "luminance": 0.17876
}

Semantic roles & 50–950 ramp

primary
#5F66EA
secondary
#EAE8BA
accent
#CF0CD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #5F66EA

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

Preview Lab → · Contrast checker → · Palette generator →

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