#5F65EB#5F65EB

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

Color values

HEX#5F65EB
RGBrgb(95, 101, 235)
HSLhsl(237, 78%, 65%)
HSVhsv(237, 60%, 92%)
CMYKcmyk(59.6%, 57%, 0%, 7.8%)
CIE-LABlab(49.18, 36.69, -68.64)
CIE-LCHlch(49.18, 77.83, 298.13°)
OKLaboklab(57.65% 0.0217 -0.1972)
OKLCHoklch(57.65% 0.198 276.3)
XYZxyz(24.3635, 17.7366, 80.7208)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F65EB #EBE55F
analogous
#5FABEB #5F65EB #9F5FEB
triadic
#5F65EB #EB5F65 #65EB5F
tetradic
#5F65EB #EB5FAB #EBE55F #5FEB9F
square
#5F65EB #EB5FAB #EBE55F #5FEB9F
split-complementary
#5F65EB #EB9F5F #ABEB5F
monochromatic
#171EB9 #2931E4 #5F65EB #9599F2 #CCCEF9

Accessibility & contrast

On white

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

On black

4.55
#5F65EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5F65EB#FFFFFF#000000##FFFFFF
##5F65EB1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f65eb;
/* rgb */ color: rgb(95, 101, 235);
/* oklch */ color: oklch(57.6% 0.198 276.3);
Tailwind
colors: {
  custom: {
    50: '#9991f2',
    500: '#5f65eb',
    950: '#000000',
  },
}
SCSS
$custom: #5f65eb;
$custom-light: #9991f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f65eb",
  "rgb": {
    "r": 95,
    "g": 101,
    "b": 235
  },
  "hsl": {
    "h": 237.429,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.5765,
    "c": 0.19836,
    "h": 276.3
  },
  "luminance": 0.17738
}

Semantic roles & 50–950 ramp

primary
#5F65EB
secondary
#EBE9BB
accent
#D10BDA
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F65EB

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

Preview Lab → · Contrast checker → · Palette generator →

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