#5F74DC#5F74DC

#5F74DC is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.4% C 0.159 H 272.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5F74DC
RGBrgb(95, 116, 220)
HSLhsl(230, 64%, 62%)
HSVhsv(230, 57%, 86%)
CMYKcmyk(56.8%, 47.3%, 0%, 13.7%)
CIE-LABlab(51.94, 22.66, -55.74)
CIE-LCHlch(51.94, 60.17, 292.12°)
OKLaboklab(59.41% 0.0059 -0.1591)
OKLCHoklch(59.41% 0.159 272.1)
XYZxyz(23.8787, 20.0892, 70.3156)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F74DC #DCC75F
analogous
#5FB3DC #5F74DC #895FDC
triadic
#5F74DC #DC5F74 #74DC5F
tetradic
#5F74DC #DC5FB3 #DCC75F #5FDC89
square
#5F74DC #DC5FB3 #DCC75F #5FDC89
split-complementary
#5F74DC #DC895F #B3DC5F
monochromatic
#23379E #2E49D0 #5F74DC #91A0E7 #C3CBF2

Accessibility & contrast

On white

4.18
#5F74DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#5F74DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F74DC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F74DC#FFFFFF#000000##000000
##5F74DC1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4282E0
Deuteranopia (green-blind)
#3077DA
Tritanopia (blue-blind)
#088B9D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5f74dc;
/* rgb */ color: rgb(95, 116, 220);
/* oklch */ color: oklch(59.4% 0.159 272.1);
Tailwind
colors: {
  custom: {
    50: '#969be7',
    500: '#5f74dc',
    950: '#000000',
  },
}
SCSS
$custom: #5f74dc;
$custom-light: #969be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f74dc",
  "rgb": {
    "r": 95,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 229.92,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59414,
    "c": 0.15918,
    "h": 272.1
  },
  "luminance": 0.20091
}

Semantic roles & 50–950 ramp

primary
#5F74DC
secondary
#E3DBB4
accent
#AE1ACC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F74DC

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

Preview Lab → · Contrast checker → · Palette generator →

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