#5F74EE#5F74EE

#5F74EE is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.6% C 0.184 H 272.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5F74EE
RGBrgb(95, 116, 238)
HSLhsl(231, 81%, 65%)
HSVhsv(231, 60%, 93%)
CMYKcmyk(60.1%, 51.3%, 0%, 6.7%)
CIE-LABlab(53.05, 28.56, -64.05)
CIE-LCHlch(53.05, 70.13, 294.03°)
OKLaboklab(60.62% 0.0077 -0.1835)
OKLCHoklch(60.62% 0.184 272.4)
XYZxyz(26.3922, 21.0946, 83.5532)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F74EE #EED95F
analogous
#5FBBEE #5F74EE #925FEE
triadic
#5F74EE #EE5F74 #74EE5F
tetradic
#5F74EE #EE5FBB #EED95F #5FEE92
square
#5F74EE #EE5FBB #EED95F #5FEE92
split-complementary
#5F74EE #EE925F #BBEE5F
monochromatic
#142DBE #2844E8 #5F74EE #96A4F4 #CED4FA

Accessibility & contrast

On white

4.02
#5F74EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#5F74EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F74EE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F74EE#FFFFFF#000000##000000
##5F74EE1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D85F2
Deuteranopia (green-blind)
#0079EB
Tritanopia (blue-blind)
#0090A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5f74ee;
/* rgb */ color: rgb(95, 116, 238);
/* oklch */ color: oklch(60.6% 0.184 272.4);
Tailwind
colors: {
  custom: {
    50: '#999bf4',
    500: '#5f74ee',
    950: '#000000',
  },
}
SCSS
$custom: #5f74ee;
$custom-light: #999bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f74ee",
  "rgb": {
    "r": 95,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 231.189,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60616,
    "c": 0.18367,
    "h": 272.4
  },
  "luminance": 0.21097
}

Semantic roles & 50–950 ramp

primary
#5F74EE
secondary
#ECE5BC
accent
#BE08DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F74EE

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

Preview Lab → · Contrast checker → · Palette generator →

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