#5F63DD#5F63DD

#5F63DD is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.3% C 0.182 H 277.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5F63DD
RGBrgb(95, 99, 221)
HSLhsl(238, 65%, 62%)
HSVhsv(238, 57%, 87%)
CMYKcmyk(57%, 55.2%, 0%, 13.3%)
CIE-LABlab(47.72, 33.39, -63.10)
CIE-LCHlch(47.72, 71.39, 297.89°)
OKLaboklab(56.26% 0.0234 -0.1809)
OKLCHoklch(56.26% 0.182 277.4)
XYZxyz(22.2281, 16.5755, 70.4207)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F63DD #DDD95F
analogous
#5FA2DD #5F63DD #9A5FDD
triadic
#5F63DD #DD5F63 #63DD5F
tetradic
#5F63DD #DD5FA2 #DDD95F #5FDD9A
square
#5F63DD #DD5FA2 #DDD95F #5FDD9A
split-complementary
#5F63DD #DD9A5F #A2DD5F
monochromatic
#2226A0 #2D32D2 #5F63DD #9194E8 #C4C5F2

Accessibility & contrast

On white

4.87
#5F63DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#5F63DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F63DD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F63DD#FFFFFF#000000##FFFFFF
##5F63DD1.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0277E1
Deuteranopia (green-blind)
#006CDA
Tritanopia (blue-blind)
#0F7F96
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5f63dd;
/* rgb */ color: rgb(95, 99, 221);
/* oklch */ color: oklch(56.3% 0.182 277.4);
Tailwind
colors: {
  custom: {
    50: '#978fe8',
    500: '#5f63dd',
    950: '#000000',
  },
}
SCSS
$custom: #5f63dd;
$custom-light: #978fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f63dd",
  "rgb": {
    "r": 95,
    "g": 99,
    "b": 221
  },
  "hsl": {
    "h": 238.095,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.5626,
    "c": 0.18239,
    "h": 277.4
  },
  "luminance": 0.16577
}

Semantic roles & 50–950 ramp

primary
#5F63DD
secondary
#E3E2B5
accent
#C719CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5F63DD

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

Preview Lab → · Contrast checker → · Palette generator →

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