#5F63BB#5F63BB

#5F63BB is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.9% C 0.135 H 278.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5F63BB
RGBrgb(95, 99, 187)
HSLhsl(237, 40%, 55%)
HSVhsv(237, 49%, 73%)
CMYKcmyk(49.2%, 47.1%, 0%, 26.7%)
CIE-LABlab(45.56, 22.59, -47.06)
CIE-LCHlch(45.56, 52.20, 295.64°)
OKLaboklab(53.94% 0.0209 -0.1337)
OKLCHoklch(53.94% 0.135 278.9)
XYZxyz(18.1480, 14.9434, 48.9322)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F63BB #BBB75F
analogous
#5F91BB #5F63BB #895FBB
triadic
#5F63BB #BB5F63 #63BB5F
tetradic
#5F63BB #BB5F91 #BBB75F #5FBB89
square
#5F63BB #BB5F91 #BBB75F #5FBB89
split-complementary
#5F63BB #BB895F #91BB5F
monochromatic
#303270 #42469B #5F63BB #8A8DCD #B5B7E0

Accessibility & contrast

On white

5.26
#5F63BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5F63BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F63BB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F63BB#FFFFFF#000000##FFFFFF
##5F63BB1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D70BE
Deuteranopia (green-blind)
#3568B9
Tritanopia (blue-blind)
#3C7686
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5f63bb;
/* rgb */ color: rgb(95, 99, 187);
/* oklch */ color: oklch(53.9% 0.135 278.9);
Tailwind
colors: {
  custom: {
    50: '#928fd0',
    500: '#5f63bb',
    950: '#000000',
  },
}
SCSS
$custom: #5f63bb;
$custom-light: #928fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f63bb",
  "rgb": {
    "r": 95,
    "g": 99,
    "b": 187
  },
  "hsl": {
    "h": 237.391,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53942,
    "c": 0.13535,
    "h": 278.9
  },
  "luminance": 0.14944
}

Semantic roles & 50–950 ramp

primary
#5F63BB
secondary
#CECCA8
accent
#CB58D0
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #5F63BB

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

Preview Lab → · Contrast checker → · Palette generator →

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