#5F66E7#5F66E7

#5F66E7 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.5% C 0.192 H 276.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5F66E7
RGBrgb(95, 102, 231)
HSLhsl(237, 74%, 64%)
HSVhsv(237, 59%, 91%)
CMYKcmyk(58.9%, 55.8%, 0%, 9.4%)
CIE-LABlab(49.13, 34.79, -66.46)
CIE-LCHlch(49.13, 75.01, 297.63°)
OKLaboklab(57.53% 0.0207 -0.1907)
OKLCHoklch(57.53% 0.192 276.2)
XYZxyz(23.8898, 17.7034, 77.7440)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F66E7 #E7E05F
analogous
#5FAAE7 #5F66E7 #9C5FE7
triadic
#5F66E7 #E75F66 #66E75F
tetradic
#5F66E7 #E75FAA #E7E05F #5FE79C
square
#5F66E7 #E75FAA #E7E05F #5FE79C
split-complementary
#5F66E7 #E79C5F #AAE75F
monochromatic
#1B22B1 #2A33DF #5F66E7 #9499EF #C9CCF7

Accessibility & contrast

On white

4.62
#5F66E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#5F66E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5F66E7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F66E7#FFFFFF#000000##FFFFFF
##5F66E71.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#006FE4
Tritanopia (blue-blind)
#00859D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5f66e7;
/* rgb */ color: rgb(95, 102, 231);
/* oklch */ color: oklch(57.5% 0.192 276.2);
Tailwind
colors: {
  custom: {
    50: '#9891ef',
    500: '#5f66e7',
    950: '#000000',
  },
}
SCSS
$custom: #5f66e7;
$custom-light: #9891ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5f66e7",
  "rgb": {
    "r": 95,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 236.912,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57531,
    "c": 0.19186,
    "h": 276.2
  },
  "luminance": 0.17705
}

Semantic roles & 50–950 ramp

primary
#5F66E7
secondary
#E9E6B9
accent
#CC0FD6
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F66E7

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

Preview Lab → · Contrast checker → · Palette generator →

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