#5F74DD#5F74DD

#5F74DD is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.5% C 0.161 H 272.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5F74DD
RGBrgb(95, 116, 221)
HSLhsl(230, 65%, 62%)
HSVhsv(230, 57%, 87%)
CMYKcmyk(57%, 47.5%, 0%, 13.3%)
CIE-LABlab(52.00, 22.99, -56.21)
CIE-LCHlch(52.00, 60.73, 292.24°)
OKLaboklab(59.48% 0.0061 -0.1604)
OKLCHoklch(59.48% 0.161 272.2)
XYZxyz(24.0116, 20.1423, 71.0151)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F74DD #DDC85F
analogous
#5FB3DD #5F74DD #895FDD
triadic
#5F74DD #DD5F74 #74DD5F
tetradic
#5F74DD #DD5FB3 #DDC85F #5FDD89
square
#5F74DD #DD5FB3 #DDC85F #5FDD89
split-complementary
#5F74DD #DD895F #B3DD5F
monochromatic
#2237A0 #2D48D2 #5F74DD #91A0E8 #C4CCF2

Accessibility & contrast

On white

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

On black

5.03
#5F74DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F74DD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F74DD#FFFFFF#000000##000000
##5F74DD1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4182E1
Deuteranopia (green-blind)
#2E77DB
Tritanopia (blue-blind)
#038C9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5f74dd;
/* rgb */ color: rgb(95, 116, 221);
/* oklch */ color: oklch(59.5% 0.161 272.2);
Tailwind
colors: {
  custom: {
    50: '#969be8',
    500: '#5f74dd',
    950: '#000000',
  },
}
SCSS
$custom: #5f74dd;
$custom-light: #969be8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f74dd",
  "rgb": {
    "r": 95,
    "g": 116,
    "b": 221
  },
  "hsl": {
    "h": 230,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59479,
    "c": 0.16056,
    "h": 272.2
  },
  "luminance": 0.20144
}

Semantic roles & 50–950 ramp

primary
#5F74DD
secondary
#E3DBB5
accent
#AF19CD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F74DD

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

Preview Lab → · Contrast checker → · Palette generator →

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