#5F62CF#5F62CF

#5F62CF is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.1% C 0.165 H 278.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5F62CF
RGBrgb(95, 98, 207)
HSLhsl(238, 54%, 59%)
HSVhsv(238, 54%, 81%)
CMYKcmyk(54.1%, 52.7%, 0%, 18.8%)
CIE-LABlab(46.54, 29.53, -57.02)
CIE-LCHlch(46.54, 64.21, 297.38°)
OKLaboklab(55.08% 0.0239 -0.163)
OKLCHoklch(55.08% 0.165 278.3)
XYZxyz(20.3459, 15.6719, 60.9723)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F62CF #CFCC5F
analogous
#5F9ACF #5F62CF #945FCF
triadic
#5F62CF #CF5F62 #62CF5F
tetradic
#5F62CF #CF5F9A #CFCC5F #5FCF94
square
#5F62CF #CF5F9A #CFCC5F #5FCF94
split-complementary
#5F62CF #CF945F #9ACF5F
monochromatic
#292C8A #383BB9 #5F62CF #8E90DD #BDBEEB

Accessibility & contrast

On white

5.08
#5F62CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5F62CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F62CF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F62CF#FFFFFF#000000##FFFFFF
##5F62CF1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2573D3
Deuteranopia (green-blind)
#0F6ACD
Tritanopia (blue-blind)
#2A7B8F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5f62cf;
/* rgb */ color: rgb(95, 98, 207);
/* oklch */ color: oklch(55.1% 0.165 278.3);
Tailwind
colors: {
  custom: {
    50: '#958ede',
    500: '#5f62cf',
    950: '#000000',
  },
}
SCSS
$custom: #5f62cf;
$custom-light: #958ede;
$custom-dark: #000000;
JSON
{
  "hex": "#5f62cf",
  "rgb": {
    "r": 95,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 238.393,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55081,
    "c": 0.16475,
    "h": 278.3
  },
  "luminance": 0.15673
}

Semantic roles & 50–950 ramp

primary
#5F62CF
secondary
#DBDAAF
accent
#D94BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5F62CF

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

Preview Lab → · Contrast checker → · Palette generator →

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