#5F63CA#5F63CA

#5F63CA is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.9% C 0.157 H 278.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5F63CA
RGBrgb(95, 99, 202)
HSLhsl(238, 50%, 58%)
HSVhsv(238, 53%, 79%)
CMYKcmyk(53%, 51%, 0%, 20.8%)
CIE-LABlab(46.47, 27.32, -54.26)
CIE-LCHlch(46.47, 60.75, 296.72°)
OKLaboklab(54.93% 0.0224 -0.1549)
OKLCHoklch(54.93% 0.157 278.2)
XYZxyz(19.8385, 15.6196, 57.8352)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F63CA #CAC65F
analogous
#5F98CA #5F63CA #905FCA
triadic
#5F63CA #CA5F63 #63CA5F
tetradic
#5F63CA #CA5F98 #CAC65F #5FCA90
square
#5F63CA #CA5F98 #CAC65F #5FCA90
split-complementary
#5F63CA #CA905F #98CA5F
monochromatic
#2B2F83 #3B3FB1 #5F63CA #8D90D9 #BBBDE8

Accessibility & contrast

On white

5.09
#5F63CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#5F63CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F63CA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F63CA#FFFFFF#000000##FFFFFF
##5F63CA1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E72CE
Deuteranopia (green-blind)
#206AC8
Tritanopia (blue-blind)
#2F7A8D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5f63ca;
/* rgb */ color: rgb(95, 99, 202);
/* oklch */ color: oklch(54.9% 0.157 278.2);
Tailwind
colors: {
  custom: {
    50: '#948fdb',
    500: '#5f63ca',
    950: '#000000',
  },
}
SCSS
$custom: #5f63ca;
$custom-light: #948fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f63ca",
  "rgb": {
    "r": 95,
    "g": 99,
    "b": 202
  },
  "hsl": {
    "h": 237.757,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54927,
    "c": 0.1565,
    "h": 278.2
  },
  "luminance": 0.15621
}

Semantic roles & 50–950 ramp

primary
#5F63CA
secondary
#D8D6AD
accent
#D54EDA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5F63CA

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

Preview Lab → · Contrast checker → · Palette generator →

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