#5F66E5#5F66E5

#5F66E5 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 57.4% C 0.189 H 276.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#5F66E5
RGBrgb(95, 102, 229)
HSLhsl(237, 72%, 64%)
HSVhsv(237, 59%, 90%)
CMYKcmyk(58.5%, 55.5%, 0%, 10.2%)
CIE-LABlab(49.00, 34.15, -65.55)
CIE-LCHlch(49.00, 73.92, 297.52°)
OKLaboklab(57.39% 0.0207 -0.1881)
OKLCHoklch(57.39% 0.189 276.3)
XYZxyz(23.6090, 17.5910, 76.2648)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F66E5 #E5DE5F
analogous
#5FA9E5 #5F66E5 #9B5FE5
triadic
#5F66E5 #E55F66 #66E55F
tetradic
#5F66E5 #E55FA9 #E5DE5F #5FE59B
square
#5F66E5 #E55FA9 #E5DE5F #5FE59B
split-complementary
#5F66E5 #E59B5F #A9E55F
monochromatic
#1C24AD #2A34DC #5F66E5 #9498EE #C8CBF6

Accessibility & contrast

On white

4.65
#5F66E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#5F66E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5F66E5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F66E5#FFFFFF#000000##FFFFFF
##5F66E51.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AE9
Deuteranopia (green-blind)
#006FE2
Tritanopia (blue-blind)
#00849C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5f66e5;
/* rgb */ color: rgb(95, 102, 229);
/* oklch */ color: oklch(57.4% 0.189 276.3);
Tailwind
colors: {
  custom: {
    50: '#9891ee',
    500: '#5f66e5',
    950: '#000000',
  },
}
SCSS
$custom: #5f66e5;
$custom-light: #9891ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5f66e5",
  "rgb": {
    "r": 95,
    "g": 102,
    "b": 229
  },
  "hsl": {
    "h": 236.866,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57385,
    "c": 0.18921,
    "h": 276.3
  },
  "luminance": 0.17593
}

Semantic roles & 50–950 ramp

primary
#5F66E5
secondary
#E8E5B8
accent
#CA11D4
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #5F66E5

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

Preview Lab → · Contrast checker → · Palette generator →

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