#5F65DB#5F65DB

#5F65DB is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.5% C 0.177 H 276.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5F65DB
RGBrgb(95, 101, 219)
HSLhsl(237, 63%, 62%)
HSVhsv(237, 57%, 86%)
CMYKcmyk(56.6%, 53.9%, 0%, 14.1%)
CIE-LABlab(48.07, 31.53, -61.39)
CIE-LCHlch(48.07, 69.01, 297.19°)
OKLaboklab(56.48% 0.0214 -0.1758)
OKLCHoklch(56.48% 0.177 276.9)
XYZxyz(22.1551, 16.8532, 69.0896)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F65DB #DBD55F
analogous
#5FA3DB #5F65DB #975FDB
triadic
#5F65DB #DB5F65 #65DB5F
tetradic
#5F65DB #DB5FA3 #DBD55F #5FDB97
square
#5F65DB #DB5FA3 #DBD55F #5FDB97
split-complementary
#5F65DB #DB975F #A3DB5F
monochromatic
#23299C #2E36CE #5F65DB #9195E6 #C3C5F1

Accessibility & contrast

On white

4.80
#5F65DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#5F65DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F65DB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F65DB#FFFFFF#000000##FFFFFF
##5F65DB1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1877DF
Deuteranopia (green-blind)
#006DD9
Tritanopia (blue-blind)
#148096
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5f65db;
/* rgb */ color: rgb(95, 101, 219);
/* oklch */ color: oklch(56.5% 0.177 276.9);
Tailwind
colors: {
  custom: {
    50: '#9690e7',
    500: '#5f65db',
    950: '#000000',
  },
}
SCSS
$custom: #5f65db;
$custom-light: #9690e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f65db",
  "rgb": {
    "r": 95,
    "g": 101,
    "b": 219
  },
  "hsl": {
    "h": 237.097,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56481,
    "c": 0.17713,
    "h": 276.9
  },
  "luminance": 0.16855
}

Semantic roles & 50–950 ramp

primary
#5F65DB
secondary
#E2E0B4
accent
#C21ACB
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5F65DB

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

Preview Lab → · Contrast checker → · Palette generator →

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