#5F74E8#5F74E8

#5F74E8 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.2% C 0.176 H 272.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5F74E8
RGBrgb(95, 116, 232)
HSLhsl(231, 75%, 64%)
HSVhsv(231, 59%, 91%)
CMYKcmyk(59.1%, 50%, 0%, 9%)
CIE-LABlab(52.67, 26.59, -61.31)
CIE-LCHlch(52.67, 66.82, 293.44°)
OKLaboklab(60.21% 0.0072 -0.1754)
OKLCHoklch(60.21% 0.176 272.4)
XYZxyz(25.5254, 20.7479, 78.9879)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F74E8 #E8D35F
analogous
#5FB9E8 #5F74E8 #8F5FE8
triadic
#5F74E8 #E85F74 #74E85F
tetradic
#5F74E8 #E85FB9 #E8D35F #5FE88F
square
#5F74E8 #E85FB9 #E8D35F #5FE88F
split-complementary
#5F74E8 #E88F5F #B9E85F
monochromatic
#1A31B3 #2946E0 #5F74E8 #95A2F0 #CAD1F7

Accessibility & contrast

On white

4.08
#5F74E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5F74E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F74E8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F74E8#FFFFFF#000000##000000
##5F74E81.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3584EC
Deuteranopia (green-blind)
#1778E6
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f74e8;
/* rgb */ color: rgb(95, 116, 232);
/* oklch */ color: oklch(60.2% 0.176 272.4);
Tailwind
colors: {
  custom: {
    50: '#989bf0',
    500: '#5f74e8',
    950: '#000000',
  },
}
SCSS
$custom: #5f74e8;
$custom-light: #989bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f74e8",
  "rgb": {
    "r": 95,
    "g": 116,
    "b": 232
  },
  "hsl": {
    "h": 230.803,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60207,
    "c": 0.17559,
    "h": 272.4
  },
  "luminance": 0.2075
}

Semantic roles & 50–950 ramp

primary
#5F74E8
secondary
#E9E2BA
accent
#B80ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5F74E8

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

Preview Lab → · Contrast checker → · Palette generator →

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