#5F65EA#5F65EA

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

Color values

HEX#5F65EA
RGBrgb(95, 101, 234)
HSLhsl(237, 77%, 65%)
HSVhsv(237, 59%, 92%)
CMYKcmyk(59.4%, 56.8%, 0%, 8.2%)
CIE-LABlab(49.10, 36.37, -68.19)
CIE-LCHlch(49.10, 77.28, 298.07°)
OKLaboklab(57.58% 0.0217 -0.1958)
OKLCHoklch(57.58% 0.197 276.3)
XYZxyz(24.2195, 17.6789, 79.9620)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F65EA #EAE45F
analogous
#5FABEA #5F65EA #9F5FEA
triadic
#5F65EA #EA5F65 #65EA5F
tetradic
#5F65EA #EA5FAB #EAE45F #5FEA9F
square
#5F65EA #EA5FAB #EAE45F #5FEA9F
split-complementary
#5F65EA #EA9F5F #ABEA5F
monochromatic
#181FB7 #2931E3 #5F65EA #9599F1 #CBCDF8

Accessibility & contrast

On white

4.63
#5F65EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5F65EA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F65EA#FFFFFF#000000##FFFFFF
##5F65EA1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f65ea;
/* rgb */ color: rgb(95, 101, 234);
/* oklch */ color: oklch(57.6% 0.197 276.3);
Tailwind
colors: {
  custom: {
    50: '#9991f2',
    500: '#5f65ea',
    950: '#000000',
  },
}
SCSS
$custom: #5f65ea;
$custom-light: #9991f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f65ea",
  "rgb": {
    "r": 95,
    "g": 101,
    "b": 234
  },
  "hsl": {
    "h": 237.41,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57575,
    "c": 0.19705,
    "h": 276.3
  },
  "luminance": 0.17681
}

Semantic roles & 50–950 ramp

primary
#5F65EA
secondary
#EAE8BA
accent
#D00CD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F65EA

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

Preview Lab → · Contrast checker → · Palette generator →

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