#5F63BF#5F63BF

#5F63BF is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.2% C 0.141 H 278.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5F63BF
RGBrgb(95, 99, 191)
HSLhsl(238, 43%, 56%)
HSVhsv(238, 50%, 75%)
CMYKcmyk(50.3%, 48.2%, 0%, 25.1%)
CIE-LABlab(45.79, 23.84, -49.00)
CIE-LCHlch(45.79, 54.49, 295.94°)
OKLaboklab(54.2% 0.0214 -0.1394)
OKLCHoklch(54.2% 0.141 278.7)
XYZxyz(18.5822, 15.1171, 51.2189)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F63BF #BFBB5F
analogous
#5F93BF #5F63BF #8B5FBF
triadic
#5F63BF #BF5F63 #63BF5F
tetradic
#5F63BF #BF5F93 #BFBB5F #5FBF8B
square
#5F63BF #BF5F93 #BFBB5F #5FBF8B
split-complementary
#5F63BF #BF8B5F #93BF5F
monochromatic
#2F3275 #4044A1 #5F63BF #8B8ED0 #B6B8E2

Accessibility & contrast

On white

5.22
#5F63BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5F63BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F63BF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F63BF#FFFFFF#000000##FFFFFF
##5F63BF1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A70C2
Deuteranopia (green-blind)
#3169BD
Tritanopia (blue-blind)
#397788
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5f63bf;
/* rgb */ color: rgb(95, 99, 191);
/* oklch */ color: oklch(54.2% 0.141 278.7);
Tailwind
colors: {
  custom: {
    50: '#938fd3',
    500: '#5f63bf',
    950: '#000000',
  },
}
SCSS
$custom: #5f63bf;
$custom-light: #938fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f63bf",
  "rgb": {
    "r": 95,
    "g": 99,
    "b": 191
  },
  "hsl": {
    "h": 237.5,
    "s": 42.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54198,
    "c": 0.14106,
    "h": 278.7
  },
  "luminance": 0.15118
}

Semantic roles & 50–950 ramp

primary
#5F63BF
secondary
#D1CFA9
accent
#CD55D3
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5F63BF

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

Preview Lab → · Contrast checker → · Palette generator →

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