#5B74DF#5B74DF

#5B74DF is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.4% C 0.164 H 270.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5B74DF
RGBrgb(91, 116, 223)
HSLhsl(229, 67%, 62%)
HSVhsv(229, 59%, 87%)
CMYKcmyk(59.2%, 48%, 0%, 12.5%)
CIE-LABlab(51.88, 22.88, -57.53)
CIE-LCHlch(51.88, 61.91, 291.69°)
OKLaboklab(59.37% 0.0022 -0.1644)
OKLCHoklch(59.37% 0.164 270.8)
XYZxyz(23.8746, 20.0407, 72.4079)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B74DF #DFC65B
analogous
#5BB6DF #5B74DF #845BDF
triadic
#5B74DF #DF5B74 #74DF5B
tetradic
#5B74DF #DF5BB6 #DFC65B #5BDF84
square
#5B74DF #DF5BB6 #DFC65B #5BDF84
split-complementary
#5B74DF #DF845B #B6DF5B
monochromatic
#1F38A0 #294AD4 #5B74DF #8E9FE9 #C1CBF3

Accessibility & contrast

On white

4.19
#5B74DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5B74DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B74DF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B74DF#FFFFFF#000000##000000
##5B74DF1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E82E3
Deuteranopia (green-blind)
#2776DD
Tritanopia (blue-blind)
#008C9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b74df;
/* rgb */ color: rgb(91, 116, 223);
/* oklch */ color: oklch(59.4% 0.164 270.8);
Tailwind
colors: {
  custom: {
    50: '#949bea',
    500: '#5b74df',
    950: '#000000',
  },
}
SCSS
$custom: #5b74df;
$custom-light: #949bea;
$custom-dark: #000000;
JSON
{
  "hex": "#5b74df",
  "rgb": {
    "r": 91,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 228.636,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59369,
    "c": 0.16444,
    "h": 270.8
  },
  "luminance": 0.20043
}

Semantic roles & 50–950 ramp

primary
#5B74DF
secondary
#E3DAB2
accent
#AC16CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B74DF

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

Preview Lab → · Contrast checker → · Palette generator →

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