#5741D9#5741D9

#5741D9 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.8% C 0.219 H 281.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#5741D9
RGBrgb(87, 65, 217)
HSLhsl(249, 67%, 55%)
HSVhsv(249, 70%, 85%)
CMYKcmyk(59.9%, 70%, 0%, 14.9%)
CIE-LABlab(39.27, 50.71, -74.61)
CIE-LCHlch(39.27, 90.22, 304.20°)
OKLaboklab(49.84% 0.0437 -0.215)
OKLCHoklch(49.84% 0.219 281.5)
XYZxyz(18.3412, 10.8153, 66.7532)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5741D9 #C3D941
analogous
#4177D9 #5741D9 #A341D9
triadic
#5741D9 #D95741 #41D957
tetradic
#5741D9 #D94177 #C3D941 #41D9A3
square
#5741D9 #D94177 #C3D941 #41D9A3
split-complementary
#5741D9 #D9A341 #77D941
monochromatic
#2A1B85 #3A25B8 #5741D9 #8474E3 #B1A7ED

Accessibility & contrast

On white

6.64
#5741D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5741D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5741D9
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5741D9#FFFFFF#000000##FFFFFF
##5741D91.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DE
Deuteranopia (green-blind)
#0057D6
Tritanopia (blue-blind)
#006A88
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5741d9;
/* rgb */ color: rgb(87, 65, 217);
/* oklch */ color: oklch(49.8% 0.219 281.5);
Tailwind
colors: {
  custom: {
    50: '#9478e6',
    500: '#5741d9',
    950: '#000000',
  },
}
SCSS
$custom: #5741d9;
$custom-light: #9478e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5741d9",
  "rgb": {
    "r": 87,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 248.684,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.49836,
    "c": 0.21944,
    "h": 281.5
  },
  "luminance": 0.10817
}

Semantic roles & 50–950 ramp

primary
#5741D9
secondary
#D1DB9B
accent
#EA3ED1
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5741D9

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

Preview Lab → · Contrast checker → · Palette generator →

#5741D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva