#5F74F5#5F74F5

#5F74F5 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.1% C 0.193 H 272.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5F74F5
RGBrgb(95, 116, 245)
HSLhsl(232, 88%, 67%)
HSVhsv(232, 61%, 96%)
CMYKcmyk(61.2%, 52.7%, 0%, 3.9%)
CIE-LABlab(53.51, 30.86, -67.21)
CIE-LCHlch(53.51, 73.96, 294.66°)
OKLaboklab(61.1% 0.0082 -0.1928)
OKLCHoklch(61.1% 0.193 272.4)
XYZxyz(27.4407, 21.5140, 89.0750)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F74F5 #F5E05F
analogous
#5FBFF5 #5F74F5 #955FF5
triadic
#5F74F5 #F55F74 #74F55F
tetradic
#5F74F5 #F55FBF #F5E05F #5FF595
square
#5F74F5 #F55FBF #F5E05F #5FF595
split-complementary
#5F74F5 #F5955F #BFF55F
monochromatic
#0D28CD #2542F1 #5F74F5 #99A6F9 #D2D8FC

Accessibility & contrast

On white

3.96
#5F74F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#5F74F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F74F5
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F74F5#FFFFFF#000000##000000
##5F74F51.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2087FA
Deuteranopia (green-blind)
#0079F2
Tritanopia (blue-blind)
#0092A9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5f74f5;
/* rgb */ color: rgb(95, 116, 245);
/* oklch */ color: oklch(61.1% 0.193 272.4);
Tailwind
colors: {
  custom: {
    50: '#9a9bf9',
    500: '#5f74f5',
    950: '#000000',
  },
}
SCSS
$custom: #5f74f5;
$custom-light: #9a9bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f74f5",
  "rgb": {
    "r": 95,
    "g": 116,
    "b": 245
  },
  "hsl": {
    "h": 231.6,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61103,
    "c": 0.193,
    "h": 272.4
  },
  "luminance": 0.21516
}

Semantic roles & 50–950 ramp

primary
#5F74F5
secondary
#F0E9C0
accent
#C501E5
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F74F5

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

Preview Lab → · Contrast checker → · Palette generator →

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