#5F61C8#5F61C8

#5F61C8 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.4% C 0.156 H 279.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5F61C8
RGBrgb(95, 97, 200)
HSLhsl(239, 49%, 58%)
HSVhsv(239, 53%, 78%)
CMYKcmyk(52.5%, 51.5%, 0%, 21.6%)
CIE-LABlab(45.84, 27.92, -54.13)
CIE-LCHlch(45.84, 60.90, 297.28°)
OKLaboklab(54.41% 0.0245 -0.1545)
OKLCHoklch(54.41% 0.156 279)
XYZxyz(19.4161, 15.1512, 56.5338)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F61C8 #C8C65F
analogous
#5F95C8 #5F61C8 #915FC8
triadic
#5F61C8 #C85F61 #61C85F
tetradic
#5F61C8 #C85F95 #C8C65F #5FC891
square
#5F61C8 #C85F95 #C8C65F #5FC891
split-complementary
#5F61C8 #C8915F #95C85F
monochromatic
#2C2E80 #3C3EAE #5F61C8 #8D8ED8 #BABBE7

Accessibility & contrast

On white

5.21
#5F61C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5F61C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F61C8
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F61C8#FFFFFF#000000##FFFFFF
##5F61C81.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C71CC
Deuteranopia (green-blind)
#1E68C6
Tritanopia (blue-blind)
#31788B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5f61c8;
/* rgb */ color: rgb(95, 97, 200);
/* oklch */ color: oklch(54.4% 0.156 279.0);
Tailwind
colors: {
  custom: {
    50: '#948ed9',
    500: '#5f61c8',
    950: '#000000',
  },
}
SCSS
$custom: #5f61c8;
$custom-light: #948ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f61c8",
  "rgb": {
    "r": 95,
    "g": 97,
    "b": 200
  },
  "hsl": {
    "h": 238.857,
    "s": 48.837,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54412,
    "c": 0.15644,
    "h": 279
  },
  "luminance": 0.15152
}

Semantic roles & 50–950 ramp

primary
#5F61C8
secondary
#D6D6AC
accent
#D64FD8
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5F61C8

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

Preview Lab → · Contrast checker → · Palette generator →

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