#5F66EB#5F66EB

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

Color values

HEX#5F66EB
RGBrgb(95, 102, 235)
HSLhsl(237, 78%, 65%)
HSVhsv(237, 60%, 92%)
CMYKcmyk(59.6%, 56.6%, 0%, 7.8%)
CIE-LABlab(49.41, 36.09, -68.25)
CIE-LCHlch(49.41, 77.21, 297.87°)
OKLaboklab(57.83% 0.0208 -0.196)
OKLCHoklch(57.83% 0.197 276.1)
XYZxyz(24.4612, 17.9319, 80.7533)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F66EB #EBE45F
analogous
#5FACEB #5F66EB #9E5FEB
triadic
#5F66EB #EB5F66 #66EB5F
tetradic
#5F66EB #EB5FAC #EBE45F #5FEB9E
square
#5F66EB #EB5FAC #EBE45F #5FEB9E
split-complementary
#5F66EB #EB9E5F #ACEB5F
monochromatic
#171FB9 #2932E4 #5F66EB #959AF2 #CCCEF9

Accessibility & contrast

On white

4.58
#5F66EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#5F66EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F66EB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F66EB#FFFFFF#000000##000000
##5F66EB1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#0070E8
Tritanopia (blue-blind)
#00869F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5f66eb;
/* rgb */ color: rgb(95, 102, 235);
/* oklch */ color: oklch(57.8% 0.197 276.1);
Tailwind
colors: {
  custom: {
    50: '#9991f2',
    500: '#5f66eb',
    950: '#000000',
  },
}
SCSS
$custom: #5f66eb;
$custom-light: #9991f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f66eb",
  "rgb": {
    "r": 95,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 237,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.57827,
    "c": 0.19712,
    "h": 276.1
  },
  "luminance": 0.17934
}

Semantic roles & 50–950 ramp

primary
#5F66EB
secondary
#EBE9BB
accent
#D00BDA
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #5F66EB

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

Preview Lab → · Contrast checker → · Palette generator →

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