#5F74FF#5F74FF

#5F74FF is a mid, highly saturated blue. Relative luminance 0.221; OKLCH L 61.8% C 0.206 H 272.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5F74FF
RGBrgb(95, 116, 255)
HSLhsl(232, 100%, 69%)
HSVhsv(232, 63%, 100%)
CMYKcmyk(62.7%, 54.5%, 0%, 0%)
CIE-LABlab(54.18, 34.16, -71.67)
CIE-LCHlch(54.18, 79.39, 295.48°)
OKLaboklab(61.82% 0.0087 -0.2059)
OKLCHoklch(61.82% 0.206 272.4)
XYZxyz(29.0087, 22.1412, 97.3333)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F74FF #FFEA5F
analogous
#5FC4FF #5F74FF #9A5FFF
triadic
#5F74FF #FF5F74 #74FF5F
tetradic
#5F74FF #FF5FC4 #FFEA5F #5FFF9A
square
#5F74FF #FF5FC4 #FFEA5F #5FFF9A
split-complementary
#5F74FF #FF9A5F #C4FF5F
monochromatic
#001EE4 #223FFF #5F74FF #9CA9FF #D9DEFF

Accessibility & contrast

On white

3.87
#5F74FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#5F74FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F74FF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F74FF#FFFFFF#000000##000000
##5F74FF1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0089FF
Deuteranopia (green-blind)
#007BFC
Tritanopia (blue-blind)
#0095AE
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5f74ff;
/* rgb */ color: rgb(95, 116, 255);
/* oklch */ color: oklch(61.8% 0.206 272.4);
Tailwind
colors: {
  custom: {
    50: '#9b9bff',
    500: '#5f74ff',
    950: '#000000',
  },
}
SCSS
$custom: #5f74ff;
$custom-light: #9b9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f74ff",
  "rgb": {
    "r": 95,
    "g": 116,
    "b": 255
  },
  "hsl": {
    "h": 232.125,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.61817,
    "c": 0.20611,
    "h": 272.4
  },
  "luminance": 0.22144
}

Semantic roles & 50–950 ramp

primary
#5F74FF
secondary
#F5EFC5
accent
#C700E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5F74FF

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

Preview Lab → · Contrast checker → · Palette generator →

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