#5F63DF#5F63DF

#5F63DF is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.4% C 0.185 H 277.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5F63DF
RGBrgb(95, 99, 223)
HSLhsl(238, 67%, 62%)
HSVhsv(238, 57%, 87%)
CMYKcmyk(57.4%, 55.6%, 0%, 12.5%)
CIE-LABlab(47.86, 34.04, -64.01)
CIE-LCHlch(47.86, 72.49, 298.00°)
OKLaboklab(56.41% 0.0235 -0.1836)
OKLCHoklch(56.41% 0.185 277.3)
XYZxyz(22.4962, 16.6827, 71.8324)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F63DF #DFDB5F
analogous
#5FA3DF #5F63DF #9B5FDF
triadic
#5F63DF #DF5F63 #63DF5F
tetradic
#5F63DF #DF5FA3 #DFDB5F #5FDF9B
square
#5F63DF #DF5FA3 #DFDB5F #5FDF9B
split-complementary
#5F63DF #DF9B5F #A3DF5F
monochromatic
#2125A3 #2C31D5 #5F63DF #9295E9 #C5C6F3

Accessibility & contrast

On white

4.84
#5F63DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#5F63DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F63DF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F63DF#FFFFFF#000000##FFFFFF
##5F63DF1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#006CDC
Tritanopia (blue-blind)
#078097
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5f63df;
/* rgb */ color: rgb(95, 99, 223);
/* oklch */ color: oklch(56.4% 0.185 277.3);
Tailwind
colors: {
  custom: {
    50: '#978fea',
    500: '#5f63df',
    950: '#000000',
  },
}
SCSS
$custom: #5f63df;
$custom-light: #978fea;
$custom-dark: #000000;
JSON
{
  "hex": "#5f63df",
  "rgb": {
    "r": 95,
    "g": 99,
    "b": 223
  },
  "hsl": {
    "h": 238.125,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56406,
    "c": 0.18505,
    "h": 277.3
  },
  "luminance": 0.16684
}

Semantic roles & 50–950 ramp

primary
#5F63DF
secondary
#E4E3B6
accent
#C917CF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5F63DF

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

Preview Lab → · Contrast checker → · Palette generator →

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