#5F64C8#5F64C8

#5F64C8 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.0% C 0.152 H 278.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5F64C8
RGBrgb(95, 100, 200)
HSLhsl(237, 49%, 58%)
HSVhsv(237, 53%, 78%)
CMYKcmyk(52.5%, 50%, 0%, 21.6%)
CIE-LABlab(46.60, 26.07, -52.91)
CIE-LCHlch(46.60, 58.98, 296.23°)
OKLaboklab(54.98% 0.0211 -0.1509)
OKLCHoklch(54.98% 0.152 278)
XYZxyz(19.6985, 15.7162, 56.6279)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F64C8 #C8C35F
analogous
#5F98C8 #5F64C8 #8E5FC8
triadic
#5F64C8 #C85F64 #64C85F
tetradic
#5F64C8 #C85F98 #C8C35F #5FC88E
square
#5F64C8 #C85F98 #C8C35F #5FC88E
split-complementary
#5F64C8 #C88E5F #98C85F
monochromatic
#2C3080 #3C41AE #5F64C8 #8D90D8 #BABCE7

Accessibility & contrast

On white

5.07
#5F64C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5F64C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F64C8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F64C8#FFFFFF#000000##FFFFFF
##5F64C81.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3373CC
Deuteranopia (green-blind)
#276AC6
Tritanopia (blue-blind)
#317A8C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5f64c8;
/* rgb */ color: rgb(95, 100, 200);
/* oklch */ color: oklch(55.0% 0.152 278.0);
Tailwind
colors: {
  custom: {
    50: '#9490d9',
    500: '#5f64c8',
    950: '#000000',
  },
}
SCSS
$custom: #5f64c8;
$custom-light: #9490d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f64c8",
  "rgb": {
    "r": 95,
    "g": 100,
    "b": 200
  },
  "hsl": {
    "h": 237.143,
    "s": 48.837,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54983,
    "c": 0.15237,
    "h": 278
  },
  "luminance": 0.15717
}

Semantic roles & 50–950 ramp

primary
#5F64C8
secondary
#D6D4AC
accent
#D24FD8
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5F64C8

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

Preview Lab → · Contrast checker → · Palette generator →

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