#5F74FA#5F74FA

#5F74FA is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.5% C 0.200 H 272.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5F74FA
RGBrgb(95, 116, 250)
HSLhsl(232, 94%, 68%)
HSVhsv(232, 62%, 98%)
CMYKcmyk(62%, 53.6%, 0%, 2%)
CIE-LABlab(53.84, 32.51, -69.45)
CIE-LCHlch(53.84, 76.68, 295.08°)
OKLaboklab(61.46% 0.0085 -0.1994)
OKLCHoklch(61.46% 0.2 272.4)
XYZxyz(28.2143, 21.8234, 93.1494)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F74FA #FAE55F
analogous
#5FC1FA #5F74FA #975FFA
triadic
#5F74FA #FA5F74 #74FA5F
tetradic
#5F74FA #FA5FC1 #FAE55F #5FFA97
square
#5F74FA #FA5FC1 #FAE55F #5FFA97
split-complementary
#5F74FA #FA975F #C1FA5F
monochromatic
#0723D8 #2440F8 #5F74FA #9AA8FC #D6DBFE

Accessibility & contrast

On white

3.91
#5F74FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#5F74FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F74FA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F74FA#FFFFFF#000000##000000
##5F74FA1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1188FF
Deuteranopia (green-blind)
#007AF7
Tritanopia (blue-blind)
#0094AC
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5f74fa;
/* rgb */ color: rgb(95, 116, 250);
/* oklch */ color: oklch(61.5% 0.200 272.4);
Tailwind
colors: {
  custom: {
    50: '#9a9bfd',
    500: '#5f74fa',
    950: '#000000',
  },
}
SCSS
$custom: #5f74fa;
$custom-light: #9a9bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f74fa",
  "rgb": {
    "r": 95,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 231.871,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61458,
    "c": 0.19958,
    "h": 272.4
  },
  "luminance": 0.21826
}

Semantic roles & 50–950 ramp

primary
#5F74FA
secondary
#F2ECC2
accent
#C600E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5F74FA

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

Preview Lab → · Contrast checker → · Palette generator →

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