#5F74F6#5F74F6

#5F74F6 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.2% C 0.194 H 272.4°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5F74F6
RGBrgb(95, 116, 246)
HSLhsl(232, 89%, 67%)
HSVhsv(232, 61%, 96%)
CMYKcmyk(61.4%, 52.8%, 0%, 3.5%)
CIE-LABlab(53.57, 31.19, -67.66)
CIE-LCHlch(53.57, 74.50, 294.75°)
OKLaboklab(61.17% 0.0083 -0.1941)
OKLCHoklch(61.17% 0.194 272.4)
XYZxyz(27.5937, 21.5752, 89.8812)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F74F6 #F6E15F
analogous
#5FBFF6 #5F74F6 #965FF6
triadic
#5F74F6 #F65F74 #74F65F
tetradic
#5F74F6 #F65FBF #F6E15F #5FF696
square
#5F74F6 #F65FBF #F6E15F #5FF696
split-complementary
#5F74F6 #F6965F #BFF65F
monochromatic
#0C27CF #2542F3 #5F74F6 #99A6F9 #D3D9FD

Accessibility & contrast

On white

3.95
#5F74F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#5F74F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F74F6
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F74F6#FFFFFF#000000##000000
##5F74F61.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D87FB
Deuteranopia (green-blind)
#007AF3
Tritanopia (blue-blind)
#0093AA
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5f74f6;
/* rgb */ color: rgb(95, 116, 246);
/* oklch */ color: oklch(61.2% 0.194 272.4);
Tailwind
colors: {
  custom: {
    50: '#9a9bfa',
    500: '#5f74f6',
    950: '#000000',
  },
}
SCSS
$custom: #5f74f6;
$custom-light: #9a9bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#5f74f6",
  "rgb": {
    "r": 95,
    "g": 116,
    "b": 246
  },
  "hsl": {
    "h": 231.656,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61174,
    "c": 0.19432,
    "h": 272.4
  },
  "luminance": 0.21577
}

Semantic roles & 50–950 ramp

primary
#5F74F6
secondary
#F1EAC0
accent
#C600E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F74F6

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

Preview Lab → · Contrast checker → · Palette generator →

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