#5F66E6#5F66E6

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

Color values

HEX#5F66E6
RGBrgb(95, 102, 230)
HSLhsl(237, 73%, 64%)
HSVhsv(237, 59%, 90%)
CMYKcmyk(58.7%, 55.7%, 0%, 9.8%)
CIE-LABlab(49.07, 34.47, -66.01)
CIE-LCHlch(49.07, 74.47, 297.58°)
OKLaboklab(57.46% 0.0207 -0.1894)
OKLCHoklch(57.46% 0.191 276.2)
XYZxyz(23.7490, 17.6470, 77.0023)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F66E6 #E6DF5F
analogous
#5FA9E6 #5F66E6 #9B5FE6
triadic
#5F66E6 #E65F66 #66E65F
tetradic
#5F66E6 #E65FA9 #E6DF5F #5FE69B
square
#5F66E6 #E65FA9 #E6DF5F #5FE69B
split-complementary
#5F66E6 #E69B5F #A9E65F
monochromatic
#1B23AF #2A33DE #5F66E6 #9499EE #C9CBF7

Accessibility & contrast

On white

4.64
#5F66E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#5F66E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5F66E6
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F66E6#FFFFFF#000000##FFFFFF
##5F66E61.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#006FE3
Tritanopia (blue-blind)
#00849C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5f66e6;
/* rgb */ color: rgb(95, 102, 230);
/* oklch */ color: oklch(57.5% 0.191 276.2);
Tailwind
colors: {
  custom: {
    50: '#9891ef',
    500: '#5f66e6',
    950: '#000000',
  },
}
SCSS
$custom: #5f66e6;
$custom-light: #9891ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5f66e6",
  "rgb": {
    "r": 95,
    "g": 102,
    "b": 230
  },
  "hsl": {
    "h": 236.889,
    "s": 72.973,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57458,
    "c": 0.19054,
    "h": 276.2
  },
  "luminance": 0.17649
}

Semantic roles & 50–950 ramp

primary
#5F66E6
secondary
#E8E6B9
accent
#CB10D5
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #5F66E6

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

Preview Lab → · Contrast checker → · Palette generator →

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